
Hey everyone I am using the hidden roll script Here is the script: on("chat:message", function(msg) { if(msg.type == "api" && msg.content.indexOf("!hi") !== -1) { var numdice = msg.content.replace("!hi", ""); sendChat("Hidden Role", "/gr " + numdice + " Sent by: " + msg.who); } }); I have a macro set up to allow the my PC's to choose the target they are attacking I then have it set to send me the AC of the enemy they are attacking. Currently it only works if I put a dice roll into it, but I was wondering how I can get it to just send text Here is it working with the dice roll in: /em @{selected|token_name} attacks with @{selected|weapon1Name} [ATTACK ROLL = [[1d20+@{selected|dex|max}+@{selected|weapon1Name|max}]] vs @{target|Target1|token_name} !hi 1d1 vs AC: @{target|Target1|armorClass} I would like to to work like this: /em @{selected|token_name} attacks with @{selected|weapon1Name} [ATTACK ROLL = [[1d20+@{selected|dex|max}+@{selected|weapon1Name|max}]] vs @{target|Target1|token_name} !hi vs AC: @{target|Target1|armorClass} The above chat log is how I would like it to output, if I use this version the player can see the AC of the enemy. Any ideas would be GRAND! Thanks for reading, Casey P.S. An even cooler version would be if it would tell me HIT or MISS by comparing the roll vs the Target AC. I saw the comparison code, but currently it's over my coding pay-grade. ha ha.