I have a exported list of subscribers in just one line. Now I wanted to check via mIRC script if provided nickname ($2) exists in this file.

So it would output 'Ravelux was not found' if in subscribers.txt Ravelux is provided as "Ravelux" and not as Ravelux.

subscribers.txt:
Code:
"Ravelux"


command:
Code:
on *:TEXT:!test *:#: {
  if ($read(subscribers.txt,w,$2)) {
    msg $chan Successfully $2 found
  }
  else {
    msg $chan $2 was not found
  }
}