Complete List of MyCodes with Examples
#2

18. Dice Roll
Code:
[roll=low-high]

Rolls a single dice with values between low and high, inclusive.

e.g.

Code:
[roll=1-10]

Potential output - Rolling 1-10: 5


Code:
[roll=low-high+/-F]

Rolls a single dice with values between low and high, inclusive. Adds or subtracts the given offset F.

e.g.

Code:
[roll=1-10+5]
Potential output  - Rolling 1-10: 2 + 5 = 7

Code:
[roll=1-10-5]

Potential output - Rolling 1-10: 2 - 5 = -3


Code:
[roll=dS]

Rolls a single dice with with values between 1 and S, inclusive.

e.g.

Code:
[roll=d6]

Potential output - Rolling d6: 4


Code:
[roll=NdS]

Rolls N dice with values between 1 and S, inclusive.

e.g.

Code:
[roll=3d6]

Potential output - Rolling 3d6: 4 + 2 + 6 = 12


Code:
[roll=dS+/F]

Rolls a single dice with values between low and high, inclusive. Adds or subtracts the given offset F.

e.g.

Code:
[roll=d6+5]

Potential output - Rolling d6+5: 4 + 5 = 9


Code:
[roll=NdS+/-F]

Rolls N dice with values between 1 and S, inclusive. Adds or subtracts the given offset F.

e.g.

Code:
[roll=3d6+20]

Potential output - Rolling 3d6+20: 4 + 1 + 6 + 20 = 31


Code:
[roll=weighted list]

Rolls a single dice with as many values as there are items in weighted list. Each item in weighted list represents how likely that index is to be selected.

e.g.
Code:
[roll=25,25,50]
gives 1 a 25% chance to be rolled, 2 a 25% chance, and 3 a 50% chance.

Potential output - Rolling 25,25,50: 3


19. Nation
Code:
[nation]Lollerland[/nation]

Preview: Lollerland


20. Region
Code:
[region]Caer Sidi[/region]

Preview: Caer Sidi


Messages In This Thread
Complete List of MyCodes with Examples - by Loller Corleone - 10-10-2020, 08:39 AM
RE: Complete List of MyCodes with Examples - by Loller Corleone - 10-10-2020, 09:00 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)