TYY this works just how i want it TY.

Is there a way to add the } after $$9 at the end. If i add it it sees it like a end of string

Code:
on *:text:*->*:*: { 
if ($nick == NickName) { 
write Trivia.txt .timermsg 1 $!rand(2,5) /msg $!chan $$9 "}" 
    }
}

Last edited by LisaMIRC; 04/12/12 10:22 PM.