mIRC Home    About    Download    Register    News    Help

Print Thread
#62411 30/11/03 06:09 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
I also need a easy countdown script.. like...

If i use this command on my bot:

!help

and then i cant use the command again within 15 seconds (easy flood protection) i use timers.... but i also need like..ø
an notice: you must wait *seconds* before you can use that command.. this is an example...

#62412 30/11/03 07:59 PM
Joined: Jan 2003
Posts: 148
K
Vogon poet
Offline
Vogon poet
K
Joined: Jan 2003
Posts: 148
Halla!
Bruk dette:

Code:
  
on *:text:*:*:{
if ($1 == !help) {
if ($nick == %nick [ $+ [ $nick ] ]) { notice $nick Du kan ikke bruke denne kommandoen før det har gått 15 sekunder! | halt }
else {
set -u15 %nick [ $+ [ $nick ] ]
}
}
}

#62413 01/12/03 03:52 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
Thats not really what i need...

i need it to...

its 15 seconds left
its 14 seconds left..

like every time you msg a new number is displayed.. lol @ my english

#62414 01/12/03 05:00 PM
Joined: Oct 2003
Posts: 30
Ameglian cow
Offline
Ameglian cow
Joined: Oct 2003
Posts: 30
use a timer, and a variabel containing the last number, then check wheter it's te last, and stop spamming in the chan ^_^


------
Cheers m8!

Link Copied to Clipboard