mb.Inputs

by Ebonshadow
This library provides some useful procs for getting input from the user. [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Ebonshadow.mb.Inputs##version=2

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Ebonshadow.mb.Inputs##version=2

3678 downloads
Version 2
Date added: Jul 12 2002
Last updated: Jul 29 2009
4 fans
mb_input_text(msg,usr=usr)
same as input(m,msg) as command_text
mb_input_number(msg,usr=usr)
gets a valid number from the user
mb_input_confirm(msg,usr=usr)
returns 1 if the user picks yes
mb_input_list(msg,list/l,usr=usr)
forces the user to pick a valid option from the list
mb_input_message(msg,usr=usr)
allows the user to input multi-line text. This one is the big one. It is the equivelent of input as message. You will probably find that this one is very useful for a text based mud that uses clients other than Dream Seeker.

Version 2 (05/31/03):
Fixed a bug with mb_input_number(). This actually wasn't even working at all! I can't believe nobody told me about it ;). Also, I added an awesome menu input system. It uses the new MUDbase update to format the text.