There is a lot of info about macros on the wiki. A good starting place is here: <a href="https://wiki.roll20.net/Complete_Guide_to_Macros_%26_Rolls" rel="nofollow">https://wiki.roll20.net/Complete_Guide_to_Macros_%26_Rolls</a> That page has links to other pages for more specialized info. One of the pages it links to is this one that has details on calling the attribute of a target token: <a href="https://wiki.roll20.net/Macros#Targeted_Token_with_a_Macro" rel="nofollow">https://wiki.roll20.net/Macros#Targeted_Token_with_a_Macro</a> There may be more specific examples in the wiki depending on what game system you run (and character sheet), since some systems have a page on system specific macros. In general, macros are able to read attributes, but can't make changes to attributes at all. Automatically dealing damage is possible with a Pro subscription for access to the api. There are a couple api scripts that can be used to do that.