guest598594 commented on a Page, Slap back-coin-and dice all in one  -  Jan 14, 2008

I agree with HeatedHeart, i give it a 3 also.

1) put ;\'s in front of the comments in the script or do

/*
All
the
comments
*/

2) you should use var rather than set
3) in the dice, you put \"decribe\" not \"describe $chan\" ;o

These scripts do work, good job, but it can be simplified very easily

rather than doing \"if %var = N then ...\" you can do (for example with the coin)...

on *:text:!coin:#: describe $chan flipped a $gettok(Heads Tails,$r(1,2),32)

and the dice can simply be \"describe $chan has rolled a $r(1,6)\"

//help $rand [aka $r]
//help $gettok
//help /var

 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.