Dice Rolling Game
Please Register to submit score.
| Average Score | 5.0 |
| Scores Submitted | 2 |
| Date Added | May 03, 2008 |
| Last Updated | May 03, 2008 |
| Tags | compact dice game mirc random remote remotes roll |
Introduction
It is a game which randomly decides on a winner. The winner is the name which generates the highest numbers from the X amount of dice rolls.
The "X" amount of dice rolls and the "X" number of sides and the opposition are determined through the prompt typed by the user.
!DiceGame <number of dice to be rolled> <number of sides on dice> <opposition>
Example:
<GameMoglin> !dicegame 4 12 Vaseline
<Vaseline> [Dice Roll] < Players: GameMoglin vs. Vaseline > < No. of Dice 4 > < Sides on Dice: 12 >
<Vaseline> [GameMoglin vs. Vaseline ] < Dice Rolled: 2 3 6 1 > < Total:12 >
<Vaseline> [GameMoglin vs. Vaseline ] < Dice Rolled: 4 1 8 3 > < Total:16 >
<Vaseline> [GameMoglin vs. Vaseline ] Vaseline is the winner!
mIRC Snippet:
Dice Rolling Game
Posted on May 3, 2008 6:16 pm
Posted on May 3, 2008 6:16 pm
Kudos to you, i just made a dice game and i have to say this one is better.
mIRC Snippet:
Dice Rolling Game
Posted on May 6, 2008 9:03 pm
Posted on May 6, 2008 9:03 pm
Using mIRC 6.2, script posts the first line, then stops, this message in the Status window:
* Set %DiceGameRolled to 0
-
* Set %DiceGameAdded to 0
-
* Invalid format: $instok (line 7, dice.mrc)
I don't know enough about mIRC scripting to figure out how to fix it, unfortunately, but thought this was worth a mention.
* Set %DiceGameRolled to 0
-
* Set %DiceGameAdded to 0
-
* Invalid format: $instok (line 7, dice.mrc)
I don't know enough about mIRC scripting to figure out how to fix it, unfortunately, but thought this was worth a mention.
mIRC Snippet:
Dice Rolling Game
Posted on May 6, 2008 9:21 pm
Posted on May 6, 2008 9:21 pm
um a bit floody may want to add some kind of flood control to the triger as well as removing the -s switch so it dont flood ur status window when it's setting the var.
mIRC Snippet:
Dice Rolling Game
Posted on May 6, 2008 9:24 pm
Posted on May 6, 2008 9:24 pm
and also make it so people can only use a certain amount of dice cuz it will bust the script with an error line too long if not.
mIRC Snippet:
Dice Rolling Game
Posted on May 9, 2008 10:59 am
Posted on May 9, 2008 10:59 am
@Weapon-X: I'm using the latest version of mIRC, 6.31 and so I don't know whether the format for $instok() has been changed since version 6.2. If it has, I can't help you other than to suggest downloading the later version if you want this script to work!
@napa182: The -s have been removed, thanks!
@napa182: The -s have been removed, thanks!






