Countdown for christmas

Do you have script in mind but no ability to make it, type in what it should do, and you might be lucky.

Countdown for christmas

Postby mistAr » Wed Nov 10, 2010 10:21 pm

Hey, couldnt find anything about it, but here is what i want..

I want a countdown script, to christmas.
So like, on *:TEXT:!timetochristmas:#:{ msg $chan There is "time to christmas???"

I want it to be shown in dd:hh:mm:ss , and also, i want it to change to topic to like

Bla bla bla -|- Time to Christmas: xx Days -|- bla bla bla.
If that made sence. In msl ofcourse. The topic should be changed, everytime at 00:00 UTC. and the the command should update itself, in dd:hh:mm:ss ..
mistAr
 

Re: Countdown for christmas

Postby mistAr » Thu Nov 11, 2010 10:46 pm

Anyone?

-- After reading /help, i found something like $ctime .. $ctime(24/12/10 01:00) .. How to make it with that?
mistAr
 

Re: Countdown for christmas

Postby Cristian » Fri Nov 12, 2010 4:10 am

6wks 23hrs 32mins 8secs

Code: Select all
$duration($calc($ctime(24/12/10 01:00:00) - $ctime))
Cristian
proof of advance
proof of advance
 
Posts: 282
Joined: Sun Nov 04, 2007 3:02 pm
Location: Denmark
Authnick: Sumsar

Re: Countdown for christmas

Postby mistAr » Fri Nov 12, 2010 5:46 pm

Thanks :P
mistAr
 


Return to Mirc Scripting Request

Who is online

Users browsing this forum: No registered users and 3 guests

cron