User:Santa/timescript
From Lostpedia
Fizban30 aka Paladine's time script.
on *:TEXT:!lost:#lostpedia:{
set %losttime 11 OCTOBER 2006 20:00:00
if ($calc($ctime(%losttime) - $ctime) < 0) {
timer 1 $rand(1,3) msg $chan �Error:� Script not updated for this week
}
if ($calc($ctime(%losttime) - $ctime) > 0) {
timer 1 $rand(1,3) msg $chan There are $calc($ctime(%losttime) - $ctime) seconds, $calc($calc($ctime(%losttime) - $ctime) /60 /60) hours, $duration($calc($ctime(%losttime) - $ctime)) till Lost airs on the East Coast.
}
}
also the -lp URL script:
on *:TEXT:-lp *:#:{
/msg $chan http://lostpedia.com/wiki/Special:Search?search= $+ $replace($$2-,$chr(32),$chr(37) $+ 20)

