ON *:TEXT:*->*:*: { if ($nick == NickName) { write testing1.txt .timermsg 1 $!rand(2,5) /msg $!chan $$9 $chr(125) } }