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

Transforming an API for rolling only to the GM

1529406779

Edited 1529406846
Hello, I am currently trying to transform an API that launches attack rolls to send those attack rolls only to me, the GM. I am using the Pokemon Tabletop United character sheet. And with this API: R20 PTU API Code Using   !PTUInt I get this: The problem is that the attack roll that is launched from this chat box is not a whisper to me anymore: I already changed the var playername = stuff, to this: var playername = 'gm'; What should I change in the APi to get everything as a whisper to the GM only?
1529412602
The Aaron
Pro
API Scripter
I really know nothing about this script, but give this a try:&nbsp; <a href="https://gist.github.com/shdwjk/194e92e9f91c9db024b" rel="nofollow">https://gist.github.com/shdwjk/194e92e9f91c9db024b</a>...
Tried it, the chat box appears as whispers but not the attack roll outputs, all of them roll as normal except the first, "Physical (No Target)" which gives me "Unrecognized command: /w" back:
1529415636
The Aaron
Pro
API Scripter
well, bummer.&nbsp; Probably have to change the character sheet's ability.
I sent a PM to the creator of the sheet, last hope.
1529483351

Edited 1529483697
CWStra, the creator, responded, fixed the script and added the options to whisper attack rolls: For anyone, the script: Pokemon Tabletop United API with private move rolls
1529502868
The Aaron
Pro
API Scripter
Great!