This is the first script i made
and i am really proud of it
You type !poison
And in 5 seconds te script kicks him
on *:TEXT:!poison *:#: {
if ($nick isop #) {
/msg $chan You have been poisoned by a poisoned stab
/msg $chan In 5 seconds you will die
.timer 1 1 notice $2 5
.timer 1 2 notice $2 4
.timer 1 3 notice $2 3
.timer 1 4 notice $2 2
.timer 1 5 notice $2 1
.timer 1 6 notice $2 Goodbye!
.timer 1 6 kick # $2 Poisoned
} }
Nah, all that would really happen in these cases by using $2- is that the remaining tokens would work their way into the notices and kick message. "Aha2y Drarqua 5, Aha2y Drarqua 4, Aha2y Drarqua 3, Aha2y Drarqua 2 ,Aha2y Drarqua 1". Probably not what you'd want, and of course $2 is better, but $2- shouldn't prevent the script from working.