Page 1 of 1

Calculator and Roll Commands

Posted: Wed Jun 28, 2017 9:34 am
by Rigs
It would convenient if we could get a simple calculator built in as a command to split up party gold and do other things that calculators are good at.

Input: "/calc 4560/3"
Output: "1520"

A dice roll command would also be nifty.

/roll: rolls between 1-100
/roll x: rolls between 1-x
/roll x,y rolls between x-y

Re: Calculator and Roll Commands

Posted: Wed Jun 28, 2017 10:20 am
by daedroth
That'd be handy actually.
It save me having to bother with the computer calculator.

Dice rolls would need to show the range, so that no one could cheat.
"Blargh got 23 (from 1 - 100)" or some such.

Re: Calculator and Roll Commands

Posted: Wed Jun 28, 2017 6:18 pm
by Lateralus
Rigs wrote:It would convenient if we could get a simple calculator built in as a command to split up party gold and do other things that calculators are good at.

Input: "/calc 4560/3"
Output: "1520"

A dice roll command would also be nifty.

/roll: rolls between 1-100
/roll x: rolls between 1-x
/roll x,y rolls between x-y


+1

Also /randlist the staff command (randomized list of people in the room) would be nice for players to split loot and stuff for parties bigger than 6.

Re: Calculator and Roll Commands

Posted: Sat Jul 29, 2017 11:47 pm
by Rigs
Nice to see these in the new build!
/roll x,y seems to roll 1-x and multiply by y. Is that intended?

ex: /roll 6,10
rolls 1-6 and multiplies by 10 instead of rolling 6-10.

Re: Calculator and Roll Commands

Posted: Sun Jul 30, 2017 3:21 am
by NiteHawk
Rigs wrote:Nice to see these in the new build!
/roll x,y seems to roll 1-x and multiply by y. Is that intended?

ex: /roll 6,10
rolls 1-6 and multiplies by 10 instead of rolling 6-10.


If you have trouble, you need to follow the /help information (this would be under additional)

It is /roll 6 10. I'm actually not sure why it even multiples, but don't use the comma.

Ah no it just ignores the comma and merges the number is all. It's roling to 610 there.

Re: Calculator and Roll Commands

Posted: Sun Jul 30, 2017 5:10 am
by Rigs

Code: Select all

Let me begin by saying that i've been drinking. I was wrong.
[04:10] Morphine's Dice Roll (1-6,10): 321
[04:10] Morphine's Dice Roll (1-6,10): 345
[04:10] Morphine's Dice Roll (1-6,10): 422
[04:10] Morphine's Dice Roll (1-6,10): 409
[04:10] Morphine's Dice Roll (1-6,10): 498
[04:10] Morphine's Dice Roll (1-6,10): 211
[04:10] Morphine's Dice Roll (1-6,10): 408
[04:10] Morphine's Dice Roll (1-6,10): 303
[04:10] Morphine's Dice Roll (1-6,10): 576
[04:10] Morphine's Dice Roll (1-6,10): 218
[04:10] Morphine's Dice Roll (1-6,10): 202
[04:10] Morphine's Dice Roll (1-6,10): 597
[04:10] Morphine's Dice Roll (1-6,10): 128
[04:10] Morphine's Dice Roll (1-6,10): 565
[04:10] Morphine's Dice Roll (1-6,10): 211
[04:10] Morphine's Dice Roll (1-6,10): 542
[04:10] Morphine's Dice Roll (1-6,10): 192
[04:10] Morphine's Dice Roll (1-6,10): 415
[04:10] Morphine's Dice Roll (1-6,10): 453
[04:10] Morphine's Dice Roll (1-6,10): 402


Youre right, it is a merged

Re: Calculator and Roll Commands

Posted: Sun Jul 30, 2017 6:07 am
by NiteHawk
Yeah no worries. you don't need the comma anyways. Next update I remove anything that's not a whole number anyways.