I don't understand the comma separation in the $iff and what you cna put there.

Code:
menu nicklist {
  $iif(# == #channel,A-Voice Shitlist Nick):/write shitlist.mrc $$1 yes
}

on *:JOIN:#channel:{
  if ($me !isop $chan) { echo -a You're not opped on #channel, might wanna get that fixed. | return }
  elseif ($read(shitlist.mrc, s, $nick) == yes) { return }
  else { mode $chan +v $nick }
}


How is that? It supposed to be, if the nick is in the shitlist.mrc with yes after it, then the script halts.

Last edited by Mpot; 12/11/07 02:35 AM.