on *:text:*->*:*:{ if ($nick == NickName) { write testing1.txt .timermsg 1 $!rand(1,4) /msg $!chan $$9 } }