on *:JOIN:#: { if ($nick isin $read(nicks.txt,w,$+(*,$nick))) { halt } else /write nicks.txt $nick /msg # your text }