Calculator and Roll Commands

Rigs
Posts: 42
Joined: Sat May 06, 2017 10:03 am

Calculator and Roll Commands

Postby Rigs » Wed Jun 28, 2017 9:34 am

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

User avatar
daedroth
Posts: 1178
Joined: Mon Jun 06, 2016 5:53 am

Re: Calculator and Roll Commands

Postby daedroth » Wed Jun 28, 2017 10:20 am

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.
Disclaimer: Any ideas I come up with may not even meet my approval. I am just posting an idea based on the topic I have just read.
I love sheep.

User avatar
Lateralus
Posts: 932
Joined: Wed Apr 20, 2016 2:21 pm

Re: Calculator and Roll Commands

Postby Lateralus » Wed Jun 28, 2017 6:18 pm

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.

Rigs
Posts: 42
Joined: Sat May 06, 2017 10:03 am

Re: Calculator and Roll Commands

Postby Rigs » Sat Jul 29, 2017 11:47 pm

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.

User avatar
NiteHawk
Site Admin
Posts: 3121
Joined: Wed Apr 20, 2016 7:33 am

Re: Calculator and Roll Commands

Postby NiteHawk » Sun Jul 30, 2017 3:21 am

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.

Rigs
Posts: 42
Joined: Sat May 06, 2017 10:03 am

Re: Calculator and Roll Commands

Postby Rigs » Sun Jul 30, 2017 5:10 am

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

User avatar
NiteHawk
Site Admin
Posts: 3121
Joined: Wed Apr 20, 2016 7:33 am

Re: Calculator and Roll Commands

Postby NiteHawk » Sun Jul 30, 2017 6:07 am

Yeah no worries. you don't need the comma anyways. Next update I remove anything that's not a whole number anyways.


Return to “Archive Chat”

Who is online

Users browsing this forum: No registered users and 224 guests