This works
EXAMPLE :
[12:43] @(Dark|Home) !order Stripper
[12:43] <!ACTION!> Android sees Dark|Home orders a round of Stripper
[12:43] <!ACTION!> Android sess: The waiter arrives and slips unluckily so that all of the Stripper covers the floor, to bad Dark|Home
[12:43] @(Android) That was order number: 28
on *:text:!order *:#:{
inc %orders
set %order $2-
var %ordernum = $rand(1,2)
describe # sees $nick orders a round of $2-
if (%ordernum == 1) { .timer 1 3 describe # sees: The waitress arrives and serves a round of %order }
if (%ordernum == 2) { .timer 1 3 describe # sess: The waiter arrives and slips unluckily so that all of the %order covers the floor, to bad $nick }
.timer 1 5 msg # That was order number: %orders
}
maybe add some flood pros an name ur timers
just one of many ways to go about it...
on *:text:!order *:#:{
tokenize 32 $strip($1-)
if (!$timer(order2) && $$2) {
inc %orders
var %ordernum = waitress arrives and serves a round of $2- .$&
waiter arrives and slips unluckily so that all of the $2- covers the floor $+ $chr(44) to bad $nick
describe # sees $nick orders a round of $2-
.timerorder 1 3 describe # sees: The $gettok(%ordernum,$r(1,2),46)
.timerorder2 1 5 msg # That was order number: %orders
}
}