Code:
Raw 319:*: {
  if ($wildtok($3-,$+(@,#ChanName,),1,32)) { 
    commands
  }
  elseif (!$wildtok($3-,$+(@,#ChanName,),1,32)) { 
    commands  
  }
}


Checks where or not they are an operator on the channel. I wouldn't use the isin operator because if they are in channel names with near enough the same names such as:
#ThisIsAChanName
#ChanName

Code:
if ($wildtok($3-,$+(@,#ChanName,),1,32)) { 
  commands
}


We've checked they're not an op so it performs other commands.

Code:
elseif ($wildtok($3-,$+(@,#ChanName,),1,32)) { 
  other commands
}

Last edited by SladeKraven; 20/02/05 04:54 PM.