stop showing this code here to other users:

if (!$read(test.txt,r,/^ $+ $nick $+ $/i))

becuse it is not equal to the nicknames may stored in notice.txt