Adding user input into a plugin

Posted by Bottomfeeder on Tue 19 Aug 2008 03:48 PM — 2 posts, 12,784 views.

#0
I have been looking for some mention of a function or the like that would allow a plugin to query the user for input, stopping indefinitely until the user responded.

For example...

User types: plugin reset
Plugin: Are you sure you want to reset everything? Yes/No...


Everything is on hold until either a Yes or No response is entered by the user.

Simple enough, but I haven't seen it used in any mushclient plugins yet so I'm hoping better minds than mine could help me out on it.

Thanks guys.
USA #1
If you're coding in Lua:
utils.msgbox
utils.umsgbox
utils.inputbox
utils.listbox
utils.multilistbox
utils.editbox

etc...
VBScript has similar commandsd built into the language.