Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Does roll20userid in Script.json support multiple arguments?

1617475487
kahn265
Pro
API Scripter
Just what the title says. I've invited people to help on the script, and I'm wondering. FOR EXAMPLE! Currently, the script.json has the following line: " roll20userid " : " 927625 " , Could it have: " roll20userid " : [ " 927625 " , "8675309"], As an option?
1617482782
Andreas J.
Forum Champion
Sheet Author
Translator
Dont think so, add just all ids inside a single entry: "roll20userid": "927625, 8675309"], When in doubt, take a look  at how other script.json are written.
1617486267
timmaugh
Forum Champion
API Scripter
What Andreas said... the entry takes a single string, but there can be multiple ids in the string. Look at libInline for an example. That has my ID and The Aaron's:  "roll20userid": "5962076, 104025",