; chan_op.mrc by EFnet #mIRC ops ; ; Don't freak out, it's not really that long, the script itself is just a few lines ; at the end, the rest are all just comments. ; ; This script is very simple and allows a group of trusted people to request ; ops from or give ops to others. It requires some basic knowledge of IRC and ; mIRC, and is really not intended for newbies. (If you are new to IRC, you ; really should not be trying to run a channel yet anyway.) This script is a ; much safer alternative than mIRC's built-in /auto command, which gives ops ; automatically to anyone with the right username@hostname joining the channel. ; ; This is very risky since people often share similar hostnames, and the ; username can be changed arbitrarily in mIRC. Let me repeat: use of mIRC's ; /auto command will almost certainly result in giving ops to the wrong ; person, resulting in a takeover sooner or later. ; ; In contrast, this script not only checks user@host information, it also ; requires a private password as a redundant safety feature. This way it is ; much less likely that both of those will be compromised. ; ; Like all scripts, especially those pertaining to channel maintenance, do not ; run it blindly, use /help or ask questions until you understand every line! ; Requirements for running this script: ; Enable /ial ON and /remote ON (both already on by default in mirc 5.9 or later) ; Every participating op must run this script ; Every participating op must be in each other's user list at the same level, ; in this example, level 10, such as by using the /guser command: ; /guser 10 Nickname 3 <- add *!*user@*.isp to your user list at level 10 ; Save this file to your mirc directory as chan_op.mrc, then to make it active ; just "load" it the first time with this command (you don't need to do it again): ; /load -rs chan_op.mrc ; Then after you join a channel, to get ops just select the nicks of 1 or more ; existing ops and use right mouse to bring up the new 'Special' menu for ; getting ops. ; ; Remember - use /help to learn what all these commands mean. For example: ; /help /load and /help /guser and /help ctcp events ctcp +10:CHANGE_TO_A_STRANGE_WORD:/mode #YourChannelName +o $nick menu nicklist { Special .GetOps/ctcp $$* CHANGE_TO_A_STRANGE_WORD }