Top

Mega Dice


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  3.0
Scores Submitted  1
Date Added  Apr 28, 2008
Last Updated  Apr 28, 2008
Tags  advanced  awesome  chat  cool  dice  great  irc  lucidchat  ludic  mega  megadice  mirc 

Introduction

A dice script with a counter inside it, and some extra's...
Only works if another user says -dice-
You can add text behind the command... makes stuff more easy.

Grab the Code

Comments

  (2)  RSS
mountaindew
Comments: 1,539
 
mIRC Snippet:  Mega Dice
Posted on Apr 28, 2008 2:42 pm
When you\'re doing something no matter what the if statement is is, don\'t include it in the if\'s. Example:
Code:

  describe $chan rolls a dice...
  if (%dice == 1) msg $chan You have thrown a 1.
  if (%dice == 2) msg $chan You have thrown a 2.
  ...

But you don\'t even need the variable, you could just say \"msg $chan You have rolled a $r(1,6) $+ !\"

Also, if you do it the way it is, make it a local variable (/var %var = data) so that it is $null when the script is done.
dull
Comments: 9
 
mIRC Snippet:  Mega Dice
Posted on Apr 29, 2008 4:13 am
okay. :)

sounds all coplicated but I\'ll try to figure out how to work with that

Please Register or Login to start posting comments.
Bottom