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 to add autoincrementing turn order custom item, without PRO API access?

I am using a Macro similar to this to add a init roll to the turn tracker for a selected character. &{template:default} {{name=@{selected|token_name} ❖ Initiative}} {{Initiative=[[d20+?{modifier?|0}&{tracker}]]}} I am looking for a similar macro that will run when NO TOKEN is selected and will add a CUSTOM ITEM to the turn tracker called "Round Count" that will autoincrement each cycle. I know this can be done in the GUI by clicking the turn Order gear icon + clicking add custom item and giving it a name and then a value of +1 before clicking ADD.  But I would like to do it with a macro.  Can this be done WITHOUT PRO API macros? Thanks.
Yes, I  know you can do it (or something similar) with PRO level API macros .   But I am only a PLUS member so I can only use regular macros...
1734066628

Edited 1734066688
You don't need a macro or subscription to do this, all you need to do is to add a custom item into the order with +1 behavior, like so: EDIT: Just noticed you already mentioned this - why do you want to do this with a macro specifically?
No it is not possible. Chat commands are 'read-only' unless they include a Mod script command.
>>  why do you want to do this with a macro specifically? Because that GUI method is 5 clicks and some typing.  And a Macro could do it in one click. The current game I am running is lengthy-combat heavy, and then I forget to go add the stupid round counter <grumble>
1734137521
GiGs
Pro
Sheet Author
API Scripter
As Jarren said above, this is not possible without a script. Macros alone cannot do this. You could create a fake token on the edge of the map, that doesn't reptresent a character but instead represents whatever item you want to add. You cn give it a fixed initiative, like 1 - it doesnt have to be a roll.
>>  You could create a fake token   I thought of that, but it would not auto-increment with each round - which was the purpose.  Alas, I think I either must upgrade to PRO, or use the GUI.  :(
Just chucking my two penneth worth in - I have always used the GUI method, set it up once, when combat ends, delete everything except the round counter, reset the value to 1, close turn tracker.  Next time you open it up it will still be there ready and waiting.  It is so second nature I don't even notice the steps at the end of combat
1734217208
GiGs
Pro
Sheet Author
API Scripter
Namocaw said: >>  You could create a fake token   I thought of that, but it would not auto-increment with each round - which was the purpose.  Alas, I think I either must upgrade to PRO, or use the GUI.  :( If you do use the GUI, having a fake token would get something on to the turn cracker a lot quicker.