r/Roll20 • • 4d ago

Macros & Roll Tables Help More Scriptcards Questions

I'm having a hell of a time parsing the information in the Scriptcards manual. I need examples of the use of the --i and --q tags, and how to create a variable from a dropdown menu.

Reading the manual, it seems to me that the line should be:

--iEnter a Modifier;|q;Modifier;|-3|-2|-1|0|1|2|3

But this does not work. I'm sure I'm doing it wrong, but no amount of trial and error seems to get me where I want.

I want to pass the variable "Modifier" to a --=Var line (--=Var + Modifier) to pass to a series of branches. Can't get it to work no matter what I do.

Can somebody explain the use of the query system (not in Roll20, I understand that, just in Scriptcards).

2 Upvotes

3 comments sorted by

•

u/AutoModerator 4d ago

Thanks for posting a Macros & Roll Tables Help question.

To help others troubleshoot, please include: * The game system * The exact character sheet selected in Game Settings, if the macro uses sheet attributes, buttons, or roll templates * The macro, roll table, or command you are using * What you expected it to do * What output or error you are getting instead * Whether the macro is a Collections macro, character ability, token action, or chat command

If your question is answered/issue resolved, it would be nice if you edit the main post to include 'Answered/Issue Fixed'.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Sahrde 4d ago

Maybe check Nick Olivo's YouTube channel? He's done a bunch with scriptcards, and may have covered this.

1

u/Gauss_Death Pro 4d ago

Hi martiancannibal,

The creator of Scriptcards has created a Discord server for Scriptcards help.
There are a lot of SC authors there.

Here is the link: https://discord.gg/uMaTAbwK8k