I want to /notice someone who joined my channel if he's joining with his nick for the first time.
So if he joins my channel a second time the /notice would not occur.
I thought about using a text file and make my script check whether the name is in the file or not.
If the name is written in the textfile nothing would happen.
If the name is not in the textfile the script would execute and add the one who's triggered the script to the textfile so the script wouldn't be triggered again if he joined.
I've got this so far but it doesn't work at all.
var %person = $read(people.ini)
if ($readn == 0)
/notice $nick Good day!
/write people.ini $nick
Any help would be appreciated.