mIRC Homepage
Posted By: tim_shady1 alas, what has 6.1 done - 03/09/03 08:18 AM
ok, ive got a sample here which goes through a txt file looking for a line, if that line exists, it halts, otherwise, it writes it to the text file.

Code:
alias listcheck {
  if ( $read(away.txt, s, $1-) ) {
    halt
  }
  else {
    write away.txt $1-
  }
}


this worked fine in 5.91 .. then i upgraded to 6.1 now it just seems to write to the file no matter what, ive checked the read me, and everything seems to be in order.

got any ideas ?
Posted By: bloupx Re: alas, what has 6.1 done - 03/09/03 08:29 AM
alias listcheck {
if ($read(away.txt, w, $1-)) halt
else write away.txt $1-
}

that'll do what you want.
Posted By: tim_shady1 Re: alas, what has 6.1 done - 03/09/03 08:39 PM
cool, thanks smile
© mIRC Discussion Forums