i tried that but it doesn't set &rand, $chan and the } at the end

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


It add it like this

Code:
.timermsg 1 3 /msg #Name-OfChannel "the word"


I don't want him to get me the channel name, i want him to put /msg $chan in the file.

Last edited by LisaMIRC; 23/11/12 11:10 PM.