help bot

By Chaz on May 09, 2005

Designed for efficiency
Some simple code for when someone uses ?? something
it looks for something in the txt file then reads everything after that.
If the bot knows the user (ulevel = 100) it msgs the chan, else if it doesnt know the user ie ulevel = 1 it notices the nick.

Example:

hi ?? hello Hello there! Welcome to #ReD, before you ask something, please familarize yourself with the rules. Else it could result in a ban. A nice tip is to not pm +o/+v, it is considered offensive in most channels. That was made achieveable by, doing this (User level must be 100): Bot add Hello Hello there! Welcome to $chan, before you ask something, please familarize yourself with the rules. Else it could result in a ban. A nice tip is to not pm +o/+v, it is considered offensive in most channels. -Bot- Done. ```mirc on 1:TEXT:?? *:#: { var %i = $1- | set %i $remtok($1-,??,1,32) if ($read(database.txt, s, %i)) { if ($ulevel > 49) { var %l = $read(database.txt, s, %i) msg $chan %l } else { var %l = $read(database.txt, s, %i) notice $nick %l } } else { notice $nick I couldn't find that command. } } on 100:TEXT:$($me add * $+ ):*: { write -ds $+ $3 database.txt write database.txt $3- notice $nick Done. } ```

Comments

Sign in to comment.
DeathRyder082   -  Jul 08, 2005

As a person who uses bots, I think this is a good idea. Gj :)

 Respond  
LyB^cop   -  May 12, 2005

how can i download the bot

 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.