Code:
on syscon:text:!ignore*:#:{
  if ($2 == $null) { msg $chan Specify a nickname. }
  elseif ($$2 !ison $chan) { msg $chan $$2 is not on $chan $+ ! }
  elseif ($ignore($address($$2,2)) == $address($$2,2)) { msg $chan $$2 is already ignored! }
  elseif ($$2 == $me) { 
    if ($me isop $chan) { kick $chan $nick You think that's funny, bitch? }
    else { msg $chan Ha ha, we have a funny guy. >_> }
  }
  elseif ($$2 == $nick) { msg $chan You cannot ignore yourself! }
  elseif (syscon isin $level($address($$2,2))) { msg $chan You can not ignore a bot operator! } 
  else { /ignore $$2 2 | msg $chan $$2 has been ignored at $address($$2,2) | /write C:\IcyBot2\Scripts\op_log.txt On $date(dddd $+ $chr(44) mmmm d $+ $chr(44) yyyy) at $time(h:nn:ss TT) $nick used $$1 $$2 ( $+ $address($$2,2) $+ ) on $chan }
}

Last edited by Mpot; 18/03/08 06:57 PM.