Yahoo! Command Bot – “Bringing IRC to Yahoo!”
The purpose of Yahoo! Command Bot, for a ‘One Room Bot’ Emote Bot, Simply it’s using IRC (Internet Chat Relay) Technology to be able to bring in IRC ‘Like’ Commands into Yahoo!
Select Servers, Protocol and Ports (default is fine), Select “Get Room List” (Logged in not required) Choose Room and Select Save (Saves into: Load Chat Room Dropdown box.)
The Commands Database is where you set a certain command and if that command is typed in the room, The ‘message’ you set for the command will be posted once you’re logged in.
Example: We’re in a Yahoo! Chat Room a User Types the following.
Bot: Check out our website at [url removed, login to view]
The RSS Parser is where you can set a XML Feed with a variable for certain data to be passed in the room, you have to set a feed URL and a variable in the RSS Parser; then add a command in the Commands Database with the message of that Variable so it knows what is being passed.
Add the XML Feed URL: [url removed, login to view];ZIPCODE> into RSS Feeds with the Variable: <ZIPCODE>. (SAVE)
Add a Command in the Commands Database, !weather with the message of <ZIPCODE>. (SAVE)
Now, we’re in a Yahoo! Chat Room a User Types the following.
User: !weather 24872
Bot: Panther, West Virginia; Updated: 6:17 AM EST (November 23, 2009); Conditions: Overcast; Temperature: 45°F (7.2°C); High/Low: Unavailable; Humidity: 96%; UV: 0/16; Wind: East
You will notice the bot outputted the details of the following <ZIPCODE> because the XML Feed knew what it was looking for.
The Yahoo! Basic Chat Room is mainly to input Captcha and to read output of the room, does nothing really special. (Update in Future.)
I'm not spending much on this project, The example of the screenshot below is what I have created in Visual Basic 6 (No Code - It's only GUI made) - Once I accept the bid, I can provide you the example source.
[url removed, login to view]