##################### # LoL's TooLz SETUP # ##################### BEFORE ANYTHING YOU MUST EDIT THE LOL.TCL SCRIPT !!! # IF YOU WANT TO USE THE SCRIPT WITH AN EGG OLDER THAN 1.3.18 # OR IF YOU RECEIVE AN ERROR MESSAGE LIKE: # see new pass with too many arguments # REPLACE THIS LINE IN LOL.TCL: bind mode - "* +k" see_new_pass2 # WITH THIS ONE: bind mode - * see_new_pass ********************************************************** * The setup flags are already explained in lol.tcl * * If you don't understand some of them look here. * * You MUST EDIT lol.tcl * ********************************************************** All parameters can be changed in the chan, partyline or by msg using: param All global bot variables can be changed with this command also. SECURITY = 1: The bot warns the bot masters, when they join the party-line,if aout-op is enabled or about any user mask problems. I created this options because I had some problems with masters that would use auto-op but wouldn't set a good mask. NOPASS = 1: Check if the user as a password set when he joins a chan. This is to remind a user that has been added to the bot to set a password if they haven't already done so. Disvantage: if a user joins the chan with a mask that matches the user's mask, the bot ask him to set a password instead of the person that it was intended for. That's why it's important to set masks properly. WELCOME = 1: Shows a welcome line to anyone that enters the chan that isn't on the bot: Welcome to chan nick !!! Type !help for more... CHANKEY = 1: The bot remembers the channel's password, and if someone changes it, it will remember the new one as well. With this option, the bot can always rejoin the chan after a kick for example. If you want use getops.tcl with my toolz, you need to set chankey = 0 so that the bot will not remember the password. SILENT = 1: When the value is 1, the bot will not alert the user that he needs to identify himself to the bot in order to use the channel commands. If value = 0 the bot will msg the user: You must to be identified before using this command, type /msg ... CLONE = 1: Enables your clones (same IP and with a mask that matches yours) to use the chan commands. If 0, then the clones will not be able to use the chan commands (unless you ident them to the bot as well). Example: your mask is *!darkvador@193.143.*.* and your IP: 193.143.12.23 => all the people with *!darkvador@193.143.12.23 are recognized as clones. Check ident tutorial for more details. JOKE = 0: 0 no jokes. 1 jokes PRIORITY: In all the functions,anyone with the owner, master,or op flags will be protected from kick, quick, ban, chattr...by a user that has less rights. In all the commands where do you must type the channel name, you do not have to type # before of the chan name, the bot will convert it automatically. ################### # BIG DESCRIPTION # ################### MSG: invite [#chan] If you don't give a chan name, the bot will check all the chans that it is on and verify if you are op. If there is only a chan that you can be invited to, the bot invite you, if there is more than one chan, the bot will return a list of the chans that you can be invited to. Next you need to use "invite password #chan" to be invited. The bot can't invite you on all the chans, because IRC protocol limits that. PUB (or MSG): !addop (!addvoice / !addmaster) [handle] [f] It's probably the most powerful function of my script, makes things really easy for new masters. 1_ !addop nick If the user is not in the bots user file, he will be added with the op (for the chan the command is given in) and the partyline flags. If the user is in the user file, only the +o flag for the chan will be added. If the nick matchs an existing handle in the bot, the bot will let you know. This 2_ !addop nick handle Use this if the nick|handle already exists in the bot, or if you want to set a different handle that a nick. If the handle matches another handle already on the bot, the bot will refuse to perform the command. 3_ !addop nick handle f The f flag is the force flag. The bot will perform the command even if the handle already exists. First the bot will add the new user mask to the existent user, and then add the +o chan flag. Each time a user is added the bot will alert the user, and ask him to set a password. Priority with chan commands (!deop, !kick, !ban, !voice, !devoice) These commands are restricted to +o and higher, when one of theses commands are performed, first the bot checks the flag of the victim. If the victim has the +m or +b flag, the bot checks the flag of the command's user, if he doesn't have the +m flag or higher, the bot refuses to execute the command. So anyone with a +v (voice) flag cannot kick someone with an +o flag.