All pastes #592315 Raw Edit

Someone

public text v1 · immutable
#592315 ·published 2007-06-27 18:25 UTC
rendered paste body
on *:TEXT:!addop*:#esc: {
  if ($nick !isop $chan) {
    if ($address($nick,2) != $address($me,2)) {
      notice $nick You must be Op in $chan to do that.
      halt
    }
  }
  if ($2 !ison $chan) { 
    notice $nick The person must be on the channel!
    halt
  }
  write -i opinesc.txt $address($2,2)
  write -i hopinesc.txt $address($2,2)
  write -i voiceinesc.txt $address($2,2)
  notice $nick 4 $2 10has been added to the 4Op list10 by4 $nick $+ 10.
}

how can i add =   if ($read(voiceinesc.txt,w,$+(*,$address($nick,2),*))) { 
and the address is in there it will also do it?