mIRC Home    About    Download    Register    News    Help

Print Thread
#86744 13/06/04 04:55 PM
Joined: Jun 2004
Posts: 3
G
Geenie Offline OP
Self-satisified door
OP Offline
Self-satisified door
G
Joined: Jun 2004
Posts: 3
How do make an action where if someone says !countdown it will show a countdown clock. Also : on 1:TEXT:hello *:#:/msg $chan Hi 7 $nick $+ ! how would i alter this so it would pm the message back to the user that said hello

#86745 13/06/04 05:11 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Code:
on 1:TEXT:hello *:#:/msg [color:red]$nick[/color] Hi 7 $nick $+ !
I replaced $chan for $nick, that should do it wink

About the countdown..
Code:
$duration($calc($ctime(dd/mm/yyyy) - $ctime))
You should replace the dd/mm/yyy for the actual date you want to countdown to.

Hope this helps!
Zyzzy. smile


"All we are saying is give peace a chance" -- John Lennon
#86746 13/06/04 05:32 PM
Joined: Jun 2004
Posts: 3
G
Geenie Offline OP
Self-satisified door
OP Offline
Self-satisified door
G
Joined: Jun 2004
Posts: 3
Thx a lot man, is is possible to put the countdown in the form of: Days Hours Minutes and Seconds?

#86747 13/06/04 05:34 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
yes smile
Code:
$duration($calc($ctime(dd/mm/yyyy HH:nn:ss) - $ctime))
Replace the HH:nn:ss for the hour of the countdown.

Lets say you want it to count until 11:45am tomorrow. Then it would be 14/06/2004 11:45:00

Have fun! smile


"All we are saying is give peace a chance" -- John Lennon

Link Copied to Clipboard