| View previous topic :: View next topic |
| Author |
Message |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Sun May 21, 2006 3:01 am Post subject: tv shows air countdown |
|
|
Hi .
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: |
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"
}
|
from this post:
http://forum.egghelp.org/viewtopic.php?t=8570&highlight=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. |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Sun May 21, 2006 3:38 pm Post subject: |
|
|
So, this shows are each weeh/month at the same hour or something like this? _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Sun May 21, 2006 4:25 pm Post subject: |
|
|
| yes same time each week. |
|
| Back to top |
|
 |
|