Quote:
if ($read(list.txt, sn, %whom)) {
var %log = %log $+ %who hospitalized %whom $+ !
}
Is an idea, but $read when used with the 's' switch will return the REST of the line, if your text file only has the name on it, that $read will find it, but will return $null, you should use the 'w' switch.

Quote:
if ($read(list.txt, wn, %whom)) {
var %log = %log $+ %who hospitalized %whom $+ !
}


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