Ok, cant edit my post, but why this following code doesnt work?

Code:
on @*:deop:#: {
  if ($($+(%,loggedin.,$nick),2) == yes) { halt }
  elseif ($+(%,protection.,$chan) == on) { mode $chan +b $address(2,0) | kick $chan $nick You are violating $chan $+ 's rules. Please cease your abuse! | timer1 1 300 mode $chan -b $hostmark }
  else { halt }
}  


Im trying to script a little protection bot, working with NNscript etc smile.

Last edited by Vinniej; 15/02/06 05:56 PM.