Thanks, at least the error message doesn't appear anymore.
But the script still does nothing.
I figured that
Code:
var %person = $read(people.ini)

nor
Code:
set %person $read(people.ini)

do anything.

Then I simply tried
Code:
  if ($nick != $read(people.ini,s,$nick)) {
    notice $nick Good day! 
    write people.ini $nick
  }

However, even if the person who triggered the script is in the .ini file it would still reply with "Good day!".
I suspect that I can't use $read in that situation.
Is there any other solution?