vaseline28 commented on a Page, Gambling time  -  Jun 21, 2008

I was thinking about this yesterday actually, you could make your script even more compact

if (($1 == !heads) || ($1 == !tales)) {
describe $chan flips a coin.
if ($iif($1 == !heads,1,2) == $rand(1,2)) {

} else { } }

You see the way in which I cut the lines back by naming the variables inside the if statement rather than outside?

 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.