Comments (8)
The command you want if SV = 12
!1d20;$1i:[<=2]{"Perfect Success: $1 "}{$1i:[<=12]{"Success $1 [%2]"}{$1i:[=20]{"Fatal Failure $1"}{"Failure: $1"}}}
The macro you want:
!macro vang([0-9]+) 1d20;$1i:[<=2]{"Perfect Success: $1 "}{$1i:[<=\1]{"Success $1 [%2]"}{$1i:[=20]{"Fatal Failure $1"}{"Failure: $1"}}} 1
To call it:
!vang12
from diceparser.
you want to roll several d20s, but for each you want the result?
3d20...
Sucess, Perfect Success, Failure...
or do we sum up the 3 dice ?
from diceparser.
Ok
This command works like a charm:
2d20i[<10]{"low"}{i[<15]{"high"}{"very high"}}
I have to test the behaviour with instructions:
2d20;$1i:[<=2]{"Perfect Success: $1 "}{$1i:[<=\1]{"Success $1 [%2]"}{$1i:[=20]{"Fatal Failure $1"}{"Failure: $1"}}}
After that, I will deploy the solution, and the fix will be available in discord.
from diceparser.
Fantastic, works a treat! :o]
Minor tweak, to allow for 2, 3 or more d20's all being rolled together? eg, !macro vang([0-9]+) **#**d20 ... pass how many d20's get rolled?
Many thanks, Walts
from diceparser.
Looking for the individual results for each, so three (or more) dice would produce
three (or more) results, rather than a single total ... Thanks, Walts
from diceparser.
I fixed the issue partially. Still working on it.
from diceparser.
Thanks Obi, your effort is greatly appreciated! ... Walts
from diceparser.
OPP's, sorry about that ... too early in the morning for me! ;) Walts
from diceparser.
Related Issues (20)
- Macros activated from comment (#) and sentence display ("") HOT 1
- Exploding Doubles HOT 1
- No valid value at index HOT 5
- Question re: Syntax for an IF statement based on an Entered Number and a Dice Roll. HOT 2
- Bot stopped working with Discord's latest version HOT 6
- Prefix not working HOT 3
- All dice prefix commands not working HOT 3
- Diceparser not working with webhook
- DiceParser not working September 2022 HOT 1
- /r works but ! does not HOT 5
- Help Noob please! Bot Setup steps for RPG HOT 2
- Weird handling of numbers in lists
- Bot frequently does not respond
- Bot Not Responding In Any Server
- bot does not allow users below the rank of admin to roll HOT 3
- Broken example in HelpMe.md HOT 1
- List weight doesn't seem to work
- Dice Parse offline? HOT 2
- Ambiguous licensing HOT 1
- Discord bot privacy information
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diceparser.