Code:
on *:text:!join:#: { 
  if (%listopen) {
    if ($read(list.txt,nw,$nick)) { msg $chan $nick , you're already on the list silly goose! | return }
    elseif (!$read(list.txt,nw,$nick)) {
      write list.txt $nick 
      msg $chan /me grabs her pencil and adds $nick to the list
    }
  }
elseif (!%listopen) {
msg $chan Sorry, but the list is currently closed 
}
}

hey, sorry for not answering i havent been on for some days! This should work smile

Last edited by OrFeAsGr; 10/11/15 04:18 PM.