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

GM Macros for all players?

Is there a way to have the macro fill in the players name for an attribute..I would like to create macros and put them in all the players bars, In the example below I have to the name of the player in the macro.. or can I have it default to the character that ran it? If I can make this work I setup a bunch of macros for all the players ad it will be consistent. It seems the /me does not work..... Example /roll 1d20+@{WInters|Sense Motive} 
1375482616
Gauss
Forum Champion
If I understand correctly, you want /roll 1d20+@{Insert character sheet name here|Sense Motive} to be the macro and you insert the character name and it uses the appropriate Attribute from that character sheet?  Unfortunately, at this time you cannot have a a macro choose an attribute based on the character that used the macro. I suggest using Ability macros for each character sheet instead.  If you gave me more information regarding what you are trying to do a bit more perhaps I can figure out a workaround.  - Gauss
You can make different macros for players, and then give them access to it. You can select who sees and can use the macros when you edit. But as Gauss said, you have to make seperate ones for all players, and they will all be in your macro section too. It's just easier to simply tell your players to just go to <a href="https://wiki.roll20.net/Macros" rel="nofollow">https://wiki.roll20.net/Macros</a> and read about macros themselves and make them for themselves.
I was trying to set a set of common macros. We play pathfinder, so things like saves, perception and sense motive. Once I set them up I would add them to all the players. IT seemed like a simple way to create consistent macros for common things. I understand I can create a macro per character, with there name and assign it to them. With 5 players that would be a lot of duplicate and management. Gauss has it right, being able ti insert the name of the player running the macro is what I was hoping for. It would just cut down on the number of macros I would have to maintain and be an ease way to make a set of consistent macros for all the players&nbsp;
You can set macros up on their journal entries. Just duplicate a blank journal entry already set up with all the macro's and attributes.
HoneyBadger said: You can set macros up on their journal entries. Just duplicate a blank journal entry already set up with all the macro's and attributes. Hey Badger, I am totally new to this as well, how do I do that? Do I create Character sheet for each character in Advance and then Share that sheet with the player once he has joined the campaign? Or how does this work? I am really not gifted in scripting and neither are my players. They will mostly never learn Macros themselves so I need to prep it all for them.
1376792163
Gauss
Forum Champion
Marcus, you can create one character sheet including Macros and then hit the duplicate button and make any tweaks to the sheet that are needed for the players.&nbsp; As for scripting, Roll20 does not really use scripting for macros. It is just a place to place commands that you would normally type into the chat window. If you need help setting things up let me know. - Gauss
Thanks Gauss, so it is as simple as creating a &nbsp;"Base" Sheet and then duplicating and adjusting it for the players. Cool.
I do feel it appropriate to point out that you can do exactly what you're asking using the API interface.&nbsp; I had a similar question earlier (can I create a macro to allow characters to attack a specific enemy?).&nbsp; If you enter a chat command starting with the ! symbol, it gets registered by the system but not displayed.&nbsp; An API script that is listening for chat commands would then be able to parse it and do whatever you wanted with it.&nbsp; Check out the API documentation in the wiki - it's a little rough if you've never used Javascript before, but you can get an idea of what's possible. I'm going to run an adventure or two with my free account to see how Roll20 works out, then consider upgrading so that I have access to that API, which will allow for a much greater level of game streamlining through judicious use of API calls :)
1378419796
Lithl
Pro
Sheet Author
API Scripter
David A. said: I do feel it appropriate to point out that you can do exactly what you're asking using the API interface.&nbsp; I had a similar question earlier (can I create a macro to allow characters to attack a specific enemy?).&nbsp; If you enter a chat command starting with the ! symbol, it gets registered by the system but not displayed.&nbsp; An API script that is listening for chat commands would then be able to parse it and do whatever you wanted with it.&nbsp; Check out the API documentation in the wiki - it's a little rough if you've never used Javascript before, but you can get an idea of what's possible. Asking for help in the API forum can get you quick results, too. There are several of us who are willing to slap together simple scripts for people at the drop of a hat, or take time to puzzle through more difficult ones. Macro-like scripts tend twoards the easier end of the scpetrum.