Here is part of an example of script I need timer on. The only thing I did not paste are the rest of the options and the two brackets at the end:
-------------
on 1:text:!spin:#: {
set %s $nick(#,$rand(1,$nick(#,0)),a)
msg $chan 2 $+ $nick 10Spins The Bottle And It Lands On....
msg $chan 12****2 $+ %s $+ 12****
if (%s = $nick) msg $chan BOTTLE: The bottle lands on... $nick $+ ...? Oops.. spin again!
else {
var %chance = $rand(1,18)
if (%chance = 1) msg $chan $nick must now kiss %s $+ !
------------------
My question is this: People flood this script a lot as well as other scripts due to them being bored or simply wanting to abuse the script. I need a line of code that:
1.) leaves time between what the script says (for example a one second time delay between "blank spins the bottle" and "the bottle lands on blank") and
2.)I need a line of code that makes the script unusable for say 30 seconds, just to prevent flooding and so people don't spin to "Get the person they want" and that kinda stuff.
It'd be preferable to have a code that I can use on any script or that would require minimal changing (for example I'd just change the times).
Any help is appreciated, thank you very much!