
Hi, Beginner scriptor having issues with a simple Lay on Hands macro. I have created a simple macro that will look at the class resource and let you know how much of your pool you have left and then update the target tokens health. I cant get the script to lower the class resource for the Paladin. Here is the script so far. The last line doesn't work. &{template:default}{{name=Lay on Hands}}{{Lay on Hands Heals @{target|character_name}=[[?{Lay on Hands @{selected|class_resource} points available|0}]] HP}} !token-mod --ids @{target|token_id} --set bar1_value|+?{Lay on Hands @{selected|class_resource} points available|0} !token-mod --ids @{selected|class_resource} --set class_resource_value|-{Lay on Hands @{selected|class_resource} points available|0} Any help would bet greatly appreciated Fad