
Hello I made the following script, but I am having difficulty using the --api_ tag to call Token Mod. My script is as follows: !power {{ --name|Cure Light Wounds --format|@{selected|character_name} --leftsub| Standard Action --rightsub| Touch Spell --tokenid|@{selected|token_id} --target_list|@{target|token_id} --emote|@{selected|character_name} touches @{target|token_name} and wispers 'Versvesh Bekir Irisv' --Healing given| [[ [$heal] 1d8 + ( { 5 , @{selected|Level} }kl1) ]] --api_token-mod|_ids @{target|token_id} _set bar1_value|+[[^heal]] }} When replacing [^heal] with any random dice, the problem still occurs. When I try the following, it works fine: !token-mod {{ --ids @{target|token_id} --set bar1_value|+[[1d8]] }} I did wonder whether I might be either using the --api_ tag incorrectly, or if it hasn't been installed correctly e.c. I want to be able to use conditionals inside my script, hence why I wanted to call token mod in the script above. In the above example, I want to make it so that the spell will either heal for 1d8+caster level, or deal damage for the same amount if the target is undead. Thanks in advance for any help anyone can provide ^.^