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  
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.