I was wondering if anyone could help me with a script that would show the days/hrs/minutes of a couple of shows, basically the shows i watch i.e prison break,24,lost,family guy,simpsons.
for example !family guy sunday's at 8:30 pm will air in...days/hrs/minutes
it doesnt have to check for changes in the times or anything.
possibley something with unixtime?
using this script atm
Code: Select all
set when "May 21 20:30:00 2006"
set why "next family guy"
bind pub - !fg pub:countdown
proc pub:countdown {nick uhost hand chan text} {
global when why
set dur [expr [clock scan $when]-[clock seconds]]
putquick "PRIVMSG $chan :There's [duration $dur] until $why"
}
http://forum.egghelp.org/viewtopic.php? ... =countdown
it works but i'd like to make it work without changing the date,
<x> There's 17 hours 1 minute 32 seconds until next family guy
thanks to the helpers.
sorry posted in wrong forum.