Page 1 of 1

PM Dicing with chips

Posted: Mon May 18, 2015 7:59 am
by Barry
So, I made a dicing script.

How would I make it so that they dice a certain amount of chips and receive a certain amount of chips? how can I make this see the users chip balance?

Cheers.

Re: PM Dicing with chips

Posted: Mon May 18, 2015 9:22 am
by Kent Briggs
Barry wrote:How would I make it so that they dice a certain amount of chips and receive a certain amount of chips?
What do you mean by dicing? Do you mean rake?

Re: PM Dicing with chips

Posted: Mon May 18, 2015 3:45 pm
by Barry
Like, two people choose the amount they want to bet, they roll a dice, one rolls over 55 one rolls under 55, who ever rolls over 55 gets their chips doubles.

How would one do this?

I made a basic Dicing script in JavaScript, but can't figure out using the API itegration for PM, how I would go around doing this.

Re: PM Dicing with chips

Posted: Mon May 18, 2015 4:21 pm
by Kent Briggs
Barry wrote:I made a basic Dicing script in JavaScript, but can't figure out using the API itegration for PM, how I would go around doing this.
The API is only for performing administrative tasks, it does not provide client interface services. You can use it to add or withdraw chips from player accounts. That's about as far as any integration could go.