This commands will allow in eventscripts, to say the user something and wait for his answere. e.g: you write: estell eventvar(userid) hey, what's your favorite food?
then
esxset food 0
escin
estell eventvar(userid) your favorite food is server_var(food)? mmmhhh yummi! i would like this. hope it will be voted :P
-greetz, sea212
then
esxset food 0
escin
estell eventvar(userid) your favorite food is server_var(food)? mmmhhh yummi! i would like this. hope it will be voted :P
-greetz, sea212
The only way I know to do this is via something like es_escinputbox. See this HOWOT:
http://forums.mattie.info/cs/f...p?p=181925
-Mattie
http://forums.mattie.info/cs/f...p?p=181925
-Mattie
sea212 posted on 2008-02-12 12:10:31
that's not what i wanted. i would like it if you could make it that if a es_cin is in the script block / event , stop the block and wait for something that the user writes :P
-greetz, sea212
-greetz, sea212
godjonez posted on 2008-02-12 14:06:45
Exactly, it stops the block execution, which in turn would stop the whole server while waiting for the user input, which would never arrive since the network interface would be stopped as well.
If you meant like EventScripts held a state that once someone types some data, go back to that block and continue executing there, you could just do that yourself; right now a block or event is fired anyway if the user says/inputs something. You would just need to have a separate block, not continue in the same block.
If you meant like EventScripts held a state that once someone types some data, go back to that block and continue executing there, you could just do that yourself; right now a block or event is fired anyway if the user says/inputs something. You would just need to have a separate block, not continue in the same block.




Mattie posted on 2008-02-11 17:07:47