First off, I don't know if this is in the correct place but I would like to know if it is possible to put a blockage on numbers higher than 50 on the following mIRC script for my twitch bot.
Code:
on :text:!roll:#: {
if (($2 <= 0) || (!$3) || ($3 <= 0)) { msg $chan [ 4 $nick ] You have to roll something silly! | halt }
var %RollsDone 0 | var %Adds 0
while (%RollsDone < $2) {
inc %RollsDone | var %DiceScores $instok(%DiceScores,$rand(1,$3),%RollsDone,32)
}
while (%Adds < $2) {
inc %Adds | var %RollTime $gettok(%DiceScores,%Adds,32) | var %RollTotal $calc(%RollTotal + %RollTime)
}
/msg $chan [ 4 $nick ] < Dice:4 $2 > < Sides on Dice:4 $3 > < Rolls Scores:4 %DiceScores > < Total Score:4 %RollTotal >
}
So yea, any suggestions?