This part im using in another script, one that adds a user to my bot's user list. Level 2 is blacklisted and level 5 cannot be opped.
This specific part tells the script that, if the level of the user that the $nick (the one who activated the command) set is 2 or 5, then it adds a = in front of it, to make sure it that lvl 5 wont activate the lvl 2.
if ($istok(2 5,$$2,32)) { var %level = $chr(61) $+ $$2 }
so if i add the user *!*@itsme.com with level 5, the in the bot's userlist will be:
=5:*!*@itsme.com
I need the (!$istok(2 5,$$2,32) into the elseif, that follows that if statement.
So.. does the ! in front of it will check if $$2 != 2 or 5?
Thanks, Zyzzy