Note: this question refers to question ID 217344
http://answers.google.com/answers/main?cmd=threadview&id=217344
First of all, thanks for taking my answer! As you must have seen, the
bot is very easy to use; and, if you know a little bit about
scripting, it's also customizable.
I worked a little further after giving that answer, modifying the bot
so that it could have the other functions you wanted it to have. The
script modifications I made allow the bot to
1) say goodbye to someone who is leaving the channel.
2) When someone types !rules in the channel, the bot sends a private
message to him with the channel rules
Both the goodbye message and the rules text are customizable. In order
to be able to use these features, you must first replace some of the
files of the bot. If you're going to do this, please be sure to backup
the files before you proceed. Now, the files you need are in the
following page
http://www.angelfire.com/alt/elmarto/
All these files go into the subdirectories under your bot folder (for
example, C:\yb40).
File pmes.txt goes into the "txt" sub-directory (nothing is
overwritten)
File aliases.ini goes into the "ini" sub-directory
Files help.mrc and greet.mrc go into the "scripts" sub-directory
File pmes.txt contains the text that will be read to someone who has
just left the channel where the bot is. You may freely modify this
file, as long as it only has 1 line of text (no matter how long, but
no enters). Also, keep in mind that the modifications I made were very
simple, so the goodbye message will only be activated when the
greeting message is activated. Please tell me if you want me to change
this.
Finally, in order to edit the rules text, it's a bit more messy, but
not difficult. After copying the files, open the mIRC that "belongs"
to the bot. Choose "Remote..." from the "Tools" menu. The mIRC editor
will open. Choose the "Remote" tab. Choose "help.mrc" from the "View"
menu of the editor. Now, browse through the first few lines of the
code. After all the thing about help kick, you will find a comment
talking about the channel rules. The rules are something like
/msg $nick These are the channel rules:
/msg $nick 1) No ALL-CAPS
/msg $nick 2) No other bots allowed
/msg $nick 3) Something else
You can edit these lines with whatever message you want, or remove or
add lines. Always remember, text lines can be as long as you want, but
if you want to start a new line, then you have to use a new /msg $nick
command.
Again, I insist you back up the original files before making any
changes, but you shouldn't have any problems, as I tested it and it
worked for me.
If there's anything else I can assist you with related to this
question, please request a clarification. Otherwise I await your
rating and final comments.
The Google search terms I used were:
mirc bots
mirc bot
irc bots
undernet bots
Best luck with your bot!
elmarto |