rollprompt

Allows Dungeon Masters to prompt users for a specific type of roll and set a Difficulty Class. Usage: /rollprompt @user (rollType) (DC)

Privateunrated

Content

12 lines
{delete}
{=(playerName):{args(1)}}
{=(rollType):{lower:{args(2)}}}
{=(difficultyClass):{args(3)}}

{=(difficultyClass):{if({args(3)}=={args}):12|{difficultyClass}}}

{c:role add {playerName} DC {difficultyClass}}

{=(statOne):{any({rollType}==meleeattack|{rollType}==grapple|{rollType}==athletics):STR}{any({rollType}==rangedattack|{rollType}==acrobatics|{rollType}==disabledevice|{rollType}==escape|{rollType}==stealth|{rollType}==reflexsave|):DEX}{any({rollType}==defence|{rollType}==fortitudesave):CON}{any({rollType}==spellattack|{rollType}==spelldefence|{rollType}==knowledge|{rollType}==spellcraft):INT}{any({rollType}==healing|{rollType}==insight|{rollType}==perception|{rollType}==survival|{rollType}==willsave):WIS}{any({rollType}==bluff|{rollType}==diplomacy|{rollType}==disguise|{rollType}==intimidation|{rollType}==performance):CHA}}

{=(rollType2):{if({rollType}==meleeattack):Melee Attack}{if({rollType}==rangedattack):Ranged Attack}{if({rollType}==spellattack):Spell Attack}{if({rollType}==defence):Defence}{if({rollType}==spelldefence):Spell Defence}{if({rollType}==acrobatics):Acrobatics}{if({rollType}==athletics):Athletics}{if({rollType}==bluff):Bluff}{if({rollType}==diplomacy):Diplomacy}{if({rollType}==disabledevice):Disable Device}{if({rollType}==disguise):Disguise}{if({rollType}==escape):Escape}{if({rollType}==grapple):Grapple}{if({rollType}==healing):Healing}{if({rollType}==insight):Insight}{if({rollType}==intimidation):Intimidation}{if({rollType}==knowledge):Knowledge}{if({rollType}==perception):Perception}{if({rollType}==performance):Performance}{if({rollType}==spellcraft):Spellcraft}{if({rollType}==stealth):Stealth}{if({rollType}==survival):Survival}{if({rollType}==fortitudesave):Fortitude Save}{if({rollType}==reflexsave):Reflex Save}{if({rollType}==willsave):Will Save}}

Embed

1 line
{"color": 8675769, "author": {"name": "Dice Roll Prompt", "icon_url": "https://i.imgur.com/X5ad9GZ.png"}, "footer": {"text": "Powered by DiceMaster©.", "icon_url": "https://i.imgur.com/JbhKh1h.png"}, "thumbnail": {"url": "https://i.imgur.com/3bdfekT.png"}, "description": "{playerName} Please roll a **{rollType2}** check (**{statOne}** + **{rollType2}**).\n\n<:nzoth:670763553854193666> Your **Difficulty Class (DC)** for this roll is `{difficultyClass}`.\n\n**Tip:** You can use the command `/rolldice XDY+Z` to roll."}
Raw JSON
{
  "id": 123363,
  "created_at": "2020-02-22T18:59:52.000Z",
  "tag_name": "rollprompt",
  "nsfw": false,
  "owner_id": "206442032888021004",
  "uses": 75,
  "description": "Allows Dungeon Masters to prompt users for a specific type of roll and set a Difficulty Class.\n\nUsage: /rollprompt @user (rollType) (DC)",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "670347197253943296",
  "sharer": "206442032888021004",
  "content": "{delete}\n{=(playerName):{args(1)}}\n{=(rollType):{lower:{args(2)}}}\n{=(difficultyClass):{args(3)}}\n\n{=(difficultyClass):{if({args(3)}=={args}):12|{difficultyClass}}}\n\n{c:role add {playerName} DC {difficultyClass}}\n\n{=(statOne):{any({rollType}==meleeattack|{rollType}==grapple|{rollType}==athletics):STR}{any({rollType}==rangedattack|{rollType}==acrobatics|{rollType}==disabledevice|{rollType}==escape|{rollType}==stealth|{rollType}==reflexsave|):DEX}{any({rollType}==defence|{rollType}==fortitudesave):CON}{any({rollType}==spellattack|{rollType}==spelldefence|{rollType}==knowledge|{rollType}==spellcraft):INT}{any({rollType}==healing|{rollType}==insight|{rollType}==perception|{rollType}==survival|{rollType}==willsave):WIS}{any({rollType}==bluff|{rollType}==diplomacy|{rollType}==disguise|{rollType}==intimidation|{rollType}==performance):CHA}}\n\n{=(rollType2):{if({rollType}==meleeattack):Melee Attack}{if({rollType}==rangedattack):Ranged Attack}{if({rollType}==spellattack):Spell Attack}{if({rollType}==defence):Defence}{if({rollType}==spelldefence):Spell Defence}{if({rollType}==acrobatics):Acrobatics}{if({rollType}==athletics):Athletics}{if({rollType}==bluff):Bluff}{if({rollType}==diplomacy):Diplomacy}{if({rollType}==disabledevice):Disable Device}{if({rollType}==disguise):Disguise}{if({rollType}==escape):Escape}{if({rollType}==grapple):Grapple}{if({rollType}==healing):Healing}{if({rollType}==insight):Insight}{if({rollType}==intimidation):Intimidation}{if({rollType}==knowledge):Knowledge}{if({rollType}==perception):Perception}{if({rollType}==performance):Performance}{if({rollType}==spellcraft):Spellcraft}{if({rollType}==stealth):Stealth}{if({rollType}==survival):Survival}{if({rollType}==fortitudesave):Fortitude Save}{if({rollType}==reflexsave):Reflex Save}{if({rollType}==willsave):Will Save}}",
  "embed": "{\"color\": 8675769, \"author\": {\"name\": \"Dice Roll Prompt\", \"icon_url\": \"https://i.imgur.com/X5ad9GZ.png\"}, \"footer\": {\"text\": \"Powered by DiceMaster©.\", \"icon_url\": \"https://i.imgur.com/JbhKh1h.png\"}, \"thumbnail\": {\"url\": \"https://i.imgur.com/3bdfekT.png\"}, \"description\": \"{playerName} Please roll a **{rollType2}** check (**{statOne}** + **{rollType2}**).\\n\\n<:nzoth:670763553854193666> Your **Difficulty Class (DC)** for this roll is `{difficultyClass}`.\\n\\n**Tip:** You can use the command `/rolldice XDY+Z` to roll.\"}",
  "last_fetched": "2026-10-20T20:58:38.432Z"
}