1. How would I make a timer? Just a simple one that will count down when activated.
2. Is it possible to make a switch statement with map text(on screen text)?
Your help would be greatly appreciated.
One more thing, is there a tutorial or built in proc that can help alleviate lag, or should I just use a lag guard already made by someone else?
ID:269288
![]() May 12 2005, 6:53 am (Edited on May 12 2005, 7:05 am)
|
|
So is it possible to put a switch statement in on screen text?
Example: switch(input("Whatever") in list ("Yes", "No")) |
Mecha Destroyer JD wrote:
So is it possible to put a switch statement in on screen text? > switch(input("Whatever") in list ("Yes", "No")) You mean on client.screen, or like, src<<"Would you like to eat pie? (Y/N)" Both are possible. |
DeathAwaitsU wrote:
> mob/proc/Countdown() A way so you don't have to do a new while loop for everytime (unless you really want the text): var |
As for your first problem; you need to be more specific.
One approach could be to use a loop:
Another would be: