Gummo commented on a Page, AutoOp  -  Nov 11, 2010

I found the thread he posted this script in.. It was supposed to op everyone except one person (multiple people in this version) but the fact that he didn't specify anything other than "AutoOp" in this script combined with the fact that it has a list of nicknames is misleading. Anyone glancing at this might assume that it's a list of people they want to op.
This part of the code seems pointless, also:

else { if (%aop == Off) { Halt } 
}

Especially since %aop has to be on for it to reach that point.

Another note script-wise, the isin operator should not be used unless you truly know that you want that functionality.
Given a nickname list "bobby,dude,someguy" if "bob" comes online you won't op him because "bob" is in "bobby,dude,someguy".
A better conditional is if ($istok(%HaltNick,$nick,44))
That checks to see if the nickname is equal to any of the tokens between commas, as it should.

if ($chan isin %autochan && %aop == On)

Can be changed in a similar fashion to

if ($istok(%autochan,$chan,44) && %aop == On)
 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.