Persephone said: Abazigal said: Hi all, I'm having some troubles understanding how the syntax of the api box when you add or remove a condition. Upon applying the condition/spell, such as Banish I want TokenMod to send the Combat Master 'target' of the spell to the GM Layer, as if they have dissapeared from existance, and to re-appear on the token layer upon the clearing of that condition. How do I EXACTLY write that INTO that box, to have it do that {{ }} included? I'm struggling to find any guide or post on this in all the threads. For TokenMod commands, you'll first need to set up substitutions for player ID and token ID in the Macros & API config menu (might as well set up character ID and character name subs while you're at it), then use those substitutions in the command like this: {{!token-mod {{--api-as <PIDsub>}} {{--ids <TIDsub>}} {{--set layer|gmlayer}} }} Insert your substitutions in place of <PIDsub> and <TIDsub>. The double curly braces {{ }} are there as buffers, and get stripped away after entering it, so they're supposed to be missing from the final display like in your screenshot. _______________________________________________________________________________________ Amazing Persephone , thank you, that is working now!!! Ok, I have something else you could tighten up for me pleaseeeee. I have set up all AOE markers as characters with default tokens set relating to the spell AOE, as you do... I want the 'Add API' function of CombatMaster to !Spawn to spawn this 'character' AOE template upon applying the condition, lets
call it spirit guardians, which dumps the 'character', the spell AOE
marker onto the player. Like this; This is my current syntax, however it is failing to do what it should. What am I missing?
Normal
0
false
false
false
EN-GB
X-NONE
X-NONE
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin-top:0cm;
mso-para-margin-right:0cm;
mso-para-margin-bottom:8.0pt;
mso-para-margin-left:0cm;
line-height:107%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;
mso-fareast-language:EN-US;}
{{!Spawn {{--name|Spirit Guardians}} {{--size|7,7}} {{--order |toBack}} {{--expand|10,8}} }} Thanks Persephone