Code:
alias nickchange {
  inc %z
  tokenize 58 $read(nick.txt,n,%z)
  echo -a > $1-
  if ($0) { nick $1 | ns identify $2 }
  else { %z = 0 | .timer -h 1 0 nickchange }
}

Try with this, when the alias is called, check if the /echo echoed something, if not, it mean that the $read is $null.

Last edited by Wims; 06/08/08 02:28 AM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel