mIRC Home    About    Download    Register    News    Help

Print Thread
#235895 18/01/12 08:37 PM
Joined: Jan 2012
Posts: 1
C
Mostly harmless
OP Offline
Mostly harmless
C
Joined: Jan 2012
Posts: 1
basically this is what I need
Ive tried to make it myself but have had no luck
please help smile


<+Player> !dicedm player1name player2name ammountbetted
<+Player1> !roll
<@DyceBot> [Dice Duel] Player1 rolled 6 with Two Six-sided Dice.
<+Player2> !roll
<@DyceBot> [Dice Duel] Player2 rolled 8 with Two Six-sided Dice.
<@DyceBot> [Dice Duel] Player2 wins the 200m Pot with rolls : 8 - 6

Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
This could be somewhat involved. I would advise better defining what you want and providing any existing code you have.

What "currency" is used to bet? Are these persistent values? How much do people get initially, can a player's money be reset? Is there a timeout? Is a player limited to one duel at a time? Does one player roll before the other? What kind of multiple channel/server support?

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
See this. It should get you most or even all of what you want.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard