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

Macro gm whisper doesn't work

1427682671

Edited 1427683032
I use the folowing code to whisper a roll to me (gm) /w gm [[1d20+?{selected|0}&{tracker}]] initiative When I click on Test Macro It works like I want it to, however when I use it shows this to the players: /w gm 4 initiative It shows the /w gm It doesn't whisper it to me. I fixed it by making 2 macro's one macro calling the other macro before /w gm #GM-init /w gm #GM-init-roll like that.
1427687357
Gauss
Forum Champion
It works fine for me. It did not show it to other players. Note: if you log in as a Player at the same time you are logged in as a GM then it will show it to you regardless of being a Player or GM. If that was not the problem, then please send me a join link so I can see what might be going on.
1427693132
Gold
Forum Champion
I can't explain why but I had a similar thing yesterday, instead of /w it was with /me. I made a macro with /me and it printed "/me swings a hammer" in the output in the chat, instead of executing a /me (which makes the orange background in the chat). Then I erased the macro and wrote it again (and re-saved it), and it worked properly the second time. It may have been a typo on my part but it really looked like it said /me as it should. The only reason I respond with this is that it sounds like a similar effect --- a macro printing a slash-led-command as text, instead of executing the command. Turned out to be a temporary glitch (possibly my own typo or something else). I would listen to Gauss.
Gauss it's not needed cuz I fixed it with the alternative rout. Got everything setup now and it works so i'm a happy GM
1427739106
The Aaron
Roll20 Production Team
API Scripter
I've had this same issue with some API commands. In my case, I determined that I had picked up a unicode character at the beginning of the string which was causing the first letter to not be a !, and thus not be interpreted as an api command. Deleting the ! and everything in front of it (with half a dozen backspace hits) cleared up the issue for me. I believe the unicode character came into things via copying from the forum, so perhaps you copied the command from somewhere?
1427741551

Edited 1427741671
Gold
Forum Champion
The Aaron's explanation about Unicode is probably exactly what happened to me. I think I wrote the macro in a Forum post as a demo, then copy-pasted it into the game table macros. I think my Mac or browser sort-of changed the leading slash (/) into a unicode version when I copied, that wasn't recognized as the actual command slash (/) in the macro box. It appeared as a normal slash, but must've actually been a Unicode slash that was a little different. This explains why re-writing the same macro, but typing it originally in the macro box in the game, made it work the second try. NOTE: Not sure if this addresses Jumpjet's issue or not, and Jumpjet said their problem is resolved anyway. But I'm suspicious, if it was the same issue, Jumpjet would be able to fix it by rewriting the original macro, not requiring the #embedding method.
1427741838
The Aaron
Roll20 Production Team
API Scripter
In my case, I actually picked up some character that wasn't visible until I copy/pasted it into an advanced text editor that showed the hexadecimal value of the character, but certainly the slash substitution could easily happen. Have similar problems when people copy/paste text out of MS Word. =D
I wrote the code myself so no didn't copy it (or atleast the /w gm part)