Code:
on *:unban:#: {
  noop $read(bans.txt,w,$+(*,$banmask,*))
  if ($readn) { write -dl $readn bans.txt }
}


I'm assuming you already have an unban even. You can just stick the noop and write lines inside that rather than having 2 events.

Last edited by Riamus2; 13/04/10 12:00 AM.

Invision Support
#Invision on irc.irchighway.net