BassTeQ, no doubt there are scripts out there which do that. You can see my experiments at:On 2002-03-17 17:20, BassTeQ wrote:
[snip]
What Im looking for is a TCL script that will undo any +o channel changes by users that dont have a certain flag.
So if user A gives ops to user B, and user A doesn't have the flag X in his userfile then then ops will be removed from user B
If you don't change the settings in the script, a global/channel +o will do.[snip]
#Make sure the bot recognises such service/guarding bot!
What flag should I set for my service so that my bot recognises the servce/guarding bot accordingly, the same as if it was a user that was allowed to set ops?
Hi BassTeQ. First, as described in the text of the script: the channel setting must include +protectops and -bitch. Do you have this setting for the channel?On 2002-03-21 18:20, BassTeQ wrote:
Hi egghead, I tested out the script on version 1.6.9
I took away the 'o' flag from a user in the bots user list and got another OP to op that user, but the bot didn't remove the OP's that were given.
Any ideas?
Could this version be incompatible with 1.6.9?
Thanks!
If you want to send a message to the nick spreading illegally the op, locate the following line at the bottom of the script:On 2002-03-25 00:49, BassTeQ wrote:
Seems to be working nicely thanks!
One thing I would like to add, how could I make the script /msg a user that gives OP's
a) to a person that isn't allowed to HAVE ops
b) by a current OP that isnt allowed to GIVE ops
Cheers
Code: Select all
putserv "MODE $chan -oo $nick $deopnick"
Code: Select all
puthelp "PRIVMSG $nick :You are not allowed to hand out ops on $chan to a stranger like $deopnick"