Create Your Own MSN Chat Room Hosting Bot
Ever been to a user-created MSN chat room and noticed they have a special hosting bot that does all the dirty work for them, catching all those dirty words and spammers, keeping out the troublemakers, and keeping track of who should be set as hosts? Ever wished you knew how to get one for your own chat room? Well, stop wishing. I am going to walk you through it step-by-step. In this tutorial we will be creating and running a hosting bot using a program called ViperBot. So let's get started…
Install ViperBot Full Setup 3.83.9 (()
Follow the on-screen installation instructions
Make sure ViperBot is not running
Install the vocx.exe/HarryPotter patch (() into C:/Program Files so you can connect to MSN Chat
Install the Database Editor (()
Using Your Passport ID to Connect (Optional)
You don’t have to use a Passport ID for your bot, in fact it’s a lot easier to just simply connect as a guest. But if you don't want your bot to have "Guest_" appended before your UserID when you connect to a chat room then adding your passport info will solve that. So to use your own Passport ID nickname and profile, you will need to do the following:
Login to chat.msn.com (()and go into any chat room from your regular browser
Next right click above the chat box next to the title of the chat room
Choose "View Source"
Notepad will now open with the source code. Go to the "Edit" menu and choose the "Find" option, and search for "MSNREGCookie"
The info you want is the data that comes after VALUE=" and before ">';
Using the Find option, copy & paste the info for MSNREGCookie, PassportTicket and PassportProfile into the bottom three empty boxes in Viperbot. Make sure to paste them in this specific order:
You are now ready to connect and create a new room
Just remember that your Passport information changes daily, so you may need to re-do these steps if you can’t connect
Connecting to a Chat Room
If known, simply enter the URL of the chat room in the URL text box
Or use the MSN Chat menu to browse and select desired chat room
Remember your bot will only have the power to host if you are the owner of the chat room
Create your own room
Click on the Create Menu button
Enter desired Room Name
Enter a Topic
Choose your Category, Language, and Locale
Click Create when finished
Before we go on, make sure you are in <<Bot Mode>> - it should say so on the top bar of the program right next to where it says ViperBot 3.83. If you get an error while connecting then you likely have installed the vocx.exe/HarryPotterPatch in the wrong directory and ViperBot cannot find it.
ViperBot Control Board
Right-click the ViperBot icon in the System Tray (where the time is) and select 'Open Control Board'. Here is where you can set up the various options for your bot.
Setting the Auto-Welcome Message:
When set, your bot will automatically send a welcome message to every member who joins your room
Navigate under the General Tab to the Welcome Options box
Double-click the bottom message line to enter in the Welcome Message
Double-click the Font text box to change the Font options
Check 'Welcome' to activate the Welcome Message
Choose the Message location:
Check 'Whis. In main’ to whisper the Welcome on the Main Screen
Check 'Main-personal' to Welcome only on there Main Screen. (No one else will see it)
Check 'Whisper' to welcome in a regular whisper box
Check 'Main' to Welcome in the Main Screen (Everyone will see it)
Check '+v' to allow all entries voice (Used with Spectator Mode)
Check '-o' to remove host status from anyone who enters the room
The time options control effects what ViperBot sends to anyone that requests a local time on ViperBot. When turned on with the Mask option selected, ViperBot will send the message in the text line as your local time. With Block selected, ViperBot will not send any time at all, and Fake time will send whichever time you enter in the custom clock/date at the bottom.
Auto Refresh/Re-Join/Plus Options
Checking the Auto Refresh/Re-Join box will set the preference for ViperBot to either refresh or rejoin after being kicked
Checking the 'rk' box will enable the Revenge Kick - which will kick anyone who kicks ViperBot and add the offender to the kicklist
Checking the 'Adv' box will enable Room Advertising - which will send the selected advertisement (from the database) at selected intervals double click the box to set advertising interval
Checking the 'Whisper Reply' - will send a message to anyone who whispers ViperBot
Checking the 'seplog' - will log all whispered replies to a separate whisper window
Scrap \ Mask relates to emoticons. Scrap won't show the emoticons and Mask will show all emoticons as ?
Navigate to the Kick/Warn Tab in the ViperBot Controls for the following options
Choose from the Privmsg,/Whisper/Notice check boxes to determine where ViperBot should look for reasons to kick
'Set akk' - Will add every name ViperBot kicks to the kick list
'Wel. Back' – Will send a custom message to anyone who returns from 'away'. Simply type your desired message in the adjoining text box
Ban Options - This will set the option to ban anyone ViperBot auto-kicks
Scroll options - Scroll 1 will watch for anyone sending messages too fast according to the rate per second you input in the number box. Scroll 2 will watch for anyone repeating (spamming) the exact same text a certain amount of times. You may enter a custom message in the text box underneath to send to Scrollers
Notice options - This will set ViperBot to Warn, Kick or turn user to Spectator anyone who requests a local time from ViperBot. A Custom message may be set in the text box below
UCase (Uppercase) Options - When enabled, ViperBot will Warn/Kick/Spect anyone depending on the options selected. 'eico' is how many emoticons allowed in a row. 'word','letters','char'B will set how many uppercase of each are allowed. 'a. frmt.' will enable ViperBot to watch all action formats as well
TLock (Topic Lock) Options - This will Warn/Kick/Spect anyone who attempt to change the current Topic. '+tn' allows only hosts to change topics. 'MLock' locks all modes, including room limit. 'OjLock' locks the On Join Welcome Message. 'irc watch' will scan for IRC commands being sent to server
Additional Options - 'Profanity W/K' will watch for trigger words from the database (see below). 'Spare op1' will spare anyone from your Op1 list from being auto-kicked for the above options. 'Block nick changes' will kick anyone who attempts to change their nickname while still in your room
You can access the Database editor from the extra menu in ViperBot's Main Chat Screen. There are 3 sections here we’ll use; Words, Messages, and Advertisements.
This is where you can add, delete or change words you would like ViperBot to watch out for. Enter the word you would like to add in the Edit warn/Kick Words white box and click Add. You can also use the arrow keys to scroll through the various entered words and change/delete them. Each word also has a number level assigned to it. The levels are: 1-15 = kick, 16-45 = Warn/Message, 46 = Spectator, 47-50 = Spectator with Message. (NOTE: If you delete words, always leave at least one word in the list.) To use this feature you need to check off the Profanity W\K box in the ViperBot Controls Kick/Warn Tab.
This works directly in relation to the Bad Word list. These are used for ViperBot's various kick messages applying to the number level you assigned to the Bad Word list. Simply use the arrows to Message 1 to change what ViperBot says when a Level 1 word is said in Chat.
Fairly straight forward here. Use the arrows to edit the Sample Ads by entering your own Ad in the Change white box. Type the Ad in the Add white box for a new Advertisement. To use this feature you will need to have enabled the Auto Refresh/Re-Join/Plus Adv feature in the ViperBot Controls General Tab.
Welcome Message codes: nk$, me.nk$, |, +|
Advertisement Codes: me.nk$, |, +|
Time Codes: nk$, me.nk$, |, +|
nk$ = guests nickname
me.nk$ = Viperbot's nickname
| = line break
+| = message break
That's the basics for getting started, and all I am going to cover here. There are still many other advanced features that Viperbot can implement, but for the average user, this should cover pretty much all the necessities. Good luck with your Bot, and feel free to ask any further questions in the Bots & Agents Forum.