theraster

theraster

Joined
Sep 09, 2012

Activity Stream

theraster commented on a Page, TVRage v2.5  -  Sep 09, 2012

could create a function to do the repetitive code of:

...
if {$page == "timeout" || $page == ""} { tv:send $chan "TVRage has timed out. Please try again in a few minutes"
} elseif {$page == 0} { tv:send $chan "TVRage services are currently down"
} else { tv:info $page
if {![info exists tv(show)]} { tv:send $chan "No Such Show!"
} else {
...

 Respond  
theraster commented on a Page, TVRage v2.5  -  Sep 09, 2012

some minor bugs found:

tv:today, missing 'S' for Shows:
tv:send [set $location] "hows airing today $show_date:"

regex for network doesn't account for networks like A&E
also on the output, you dont capture the show id or country

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.