Originally Posted By: Nillen
Code:
on *:text:*!veso 000 -=> 999*:#Torviet: { 
if ($nick == HD|Bot) timerVeso_loop 0 3 veso_loop # 
}

alias veso_loop {
  var %chan $$1
  if (%veso == 999) { timerVeso_loop off | unset %veso | return }
  elseif (%veso == $null) %veso = 0
  else inc %veso
  if ($len(%veso) == 1) var %0s 00
  elseif ($len(%veso) == 2) var %0s 0
  msg %chan !veso $+(%0s,%veso) 
}
Paste this script below your other scripts you had. Untested but should work.


Thank you very much, Nillen.

time to play this game is 1 minute. time between 2 command is 3 seconds. So just 20 commands. I wish the numbers include: 000, 111, 222, 333, 444, 555, 666, 777, 888, 999, 100, 011, 022, 033, 044, 055, 066, 077, 088, 099.
If it is difficult, I want the numbers 000, 001 .... 019. if still difficult, the random numbers are selected, but must end after 20 commands

So the code above should modify anything?

Last edited by quanbhvn; 23/07/15 01:44 PM.