IceRealm
Youtube Announcement Serivce - StarWolf - QuickFox IRC Network

Overview

Is your channel known for random YouTube URLs in mid conversation? Have you ever wished that these people actually tell what the video is about before you go there and find out that the subject doesn't interest you? This little feature is for you!

12:51 * IceDragon watches http://www.youtube.com/watch?v=-xEzGIuY7kw
12:51 <@StarWolf> YouTube> IceDragon: http://www.youtube.com/watch?v=-xEzGIuY7kw - "Weird Al" Yankovic - White & Nerdy

As you can see, the bot automatically detects a YouTube link in speech or action, retrieves the video title from YouTube for the link in question, then displays it in the channel so everybody knows what the video is most likely about from the title. This can save you spare travels to YouTube in order to figure out what was that video - the title would tell you more about it and help you decide on whether you want to check it out or disregard it.

The service is available for any channel interested on the QuickFox IRC network.

Configuration

The script allows a relatively easy way to tune certain things - the configuration for that can be found in the youtube.tcl file under the Configuration comment. Here is a brief overview on what each variable there does:

Other variables and values in the script should not be touched unless you really know what you are doing. To stay on the safe side, it's best to make a backup of the script in its working state before any source-level modifications are done to it.

Control and Commands

The service can be controlled with just the !youtube command (modifiable). That command can be used by channel operators and/or bot masters (depending on the op_ctrl setting) to enable or disable youtube announcements in that specific channel. By default, the support is disabled, but if unsure, you can simply type !youtube and the bot will show the current state.

These are all the available commands, accessible through !youtube:

Please note that shutting the script down is not enough! In order to prevent its reactivation, you must make sure that the youtube script will not load again when you rehash the bot! Failure to do so will re-activate the script as soon as you rehash the bot and it will be active once again.