This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

tv shows air countdown

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

tv shows air countdown

Post by flashy »

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: 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"
}
from this post:
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.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

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.
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

yes same time each week.
Post Reply