How can I create a input window?

Is there anyway to create an input box window? For example, when I click on "use" for a security key pad, I'd like a small window to appear where the user can input the code. I'd like to do it this way so that the use can't click on anything else while the program (i.e. getInput) is waiting for the input.

Try the script command "get input". Notr sure if it is exactly what you want, but I do not think there is anything else.

http://quest5.net/wiki/Get_input

There's no function in Quest that will create a pop-up window for player input. That being said however, it might be possible to add something like this yourself with JavaScript or something, but I can't say that for sure.

Is there are documentation anywhere about using JavaScript with Quest? Anything at all, even just example code, would be useful.

Yes, here: http://quest5.net/wiki/Using_Javascript

Ahh, I understand. You want to do something like this: :D


Strange, I just noticed that this is not working with Q5.3. It ignores the JS command prompt

Thanks for that, the simple program makes it much easier to understand.

So much so that I have written a Wiki page, which I think will be easdier to understand that the older one:
http://quest5.net/wiki/Javascript

Pertex, thank you for taking the time to help me. The prompt box looks great. Pixie, thank you for the new Wiki page.