guest598594 commented on a Page, Dice Rolling Script  -  Apr 29, 2008
  if (($2 <= 0) || ($2 == $null) || ($3 == $null) || ($3 <= 0)) {

The if ($2 == $null) is redundant since you have the if ($3 == $null) also.

But you could simply do:

  if ($2 isnum 1- && $3 isnum 1-) {
TheTimeWinder  -  Apr 02, 2014

hey, sorry to respond to this after 6 years, but I am trying to use this script in mIRC for my TwitchTV bot, i have edited it a little, but i dont want the users to be able to say how many dice and the sides, i just want it to always be out of like 100. how would i do that?

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.