on *:text:Your have & tokens:#: {
var %x $3
if (%x <= 5) return
timer 1 5 msg # !raffle %x
}
Note; $3 is the third word written, thus making a variable out of the third word you use "var %name $3" - If you plan on using this for timers, you can lose control of your pc. I recommend using the $safe alias to prevent this from happening.
alias safe return $!decode( $encode($1,m) ,m)
In your case, you're fine since you're only looking for a number. If the value of %x is under 5, which anything that has text in it will be you'll simply not to it. But for future stuff where you can use text in your variables, you should use "timer 1 5 msg # Assuming %x has text: $safe(%x)" for instance.