hey i need help with a script that will do this: X is a random number between 1 and 2
if the number is 1 do the /msg $chan number is one
if the number is 2 do the /msg $chan number is two
this is what i want it to do.
i have tried this:
on 1:text:!command:#: {
set %number == $rand(1,2)
if (%number == 1) { msg $chan is %number 1 }
elseif (%number == 2) { msg $chan is %number 2 }
}