Thank you Aaron. I have read so many of your posts, when we decided to look into customizing some scripts 2 weeks ago because of macro limitations, and that I was trying to figure out stuff. Big fan. Your work is of amazing quality, and you are a great mentor to all of us trying to program/code. I use Companion and PowerCards (modified) as well as InventoryTracker5eOGL scripts the latter the one I decided to build on and customize. Found it on the Gitub Roll20 scripts. I was looking for something to manage equipped inventory. Then looking through the code and trying to understand it, I liked the way it was structured and easy to modify. On a side note, I have also made this post regarding an issue when unchecking the _hasattack attribute with sheetworker --> <a href="https://app.roll20.net/forum/post/7678155/5e-ogl-help-setwithworker-on-hasattack-attribute-not-adding-the-item-to-attacks-and-spellcasting-section" rel="nofollow">https://app.roll20.net/forum/post/7678155/5e-ogl-help-setwithworker-on-hasattack-attribute-not-adding-the-item-to-attacks-and-spellcasting-section</a> So, right now, I am delving myself into understanding how to catch my template when I send it to chat. My atkdmg template mapping with querries is in my modified powercard script, which I am moving to my modified InventoryTracker5eOGL script, which will make it faster, simpler, especially in regards to separating melee attacks from ranged attacks and thow attacks (And Spell, and maybe some Other), one of the reason being I use a querry to populate the ammo=ammo section of the 5e OGL atkdmg template among others. So from what I understand from the documentation, I use something like : sendChat("Riley", "&{template:atkdmg...(filled by my values)", function(ops) Then, this is where I am not sure, in my script, i would do : on("chat:message", function(msg) { // I know something would be missing here. **Read the input and do operations to split wanted values** **Make check vs AC (found because template will trigger a @[target|character_id}, from which I will extract the AC** **Check if the attack was succesful** **On success, take the damage that was rolled (I am on auto roll damage and crit) and remove it from target character with sheetworker and send message with the damage that was done ** **On fail send message that the attack missed ** } I will attempt to add this to my script maybe this week, and will post code. Just attempting to grasp how I will proceed before coding it, because sometimes you might have to re-do everything. I never expect help and rarely reach out for it, or, at least, I will usually try exhaustively before doing so. Although I read a lot from the forums, I just made my first posts in the last few days, as I didn't fully understand how to use callback from documentation. And how I interpret that back into the script. Felt like this would be a big drawback for when I would reach that part. Sorry for the long post.