Stirk commented on a Page, Dice Roller  -  Apr 01, 2006

on :TEXT:!roll:#: {
if ($2- == $null) {
set %dice 1
set %sides 6
%roll = $rand(1,%sides)
msg # Roll 1: %roll
}

Just at a glance, why set a variable if you arent going to use it?
I\'d change the above part to this:

on :TEXT:!roll:#:{
if (!$2-) {
msg # Roll 1: $rand(1,6)
}

 Respond  
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.