I am trying to make a new script card that allows someone to select what type of advantage they have and for the chat to display it. Below is what I have at the moment. What I am aiming for is for someone to click it, they choose how the dice are being rolled, then when it pops, up in chat it says X character rolled with advantage, or disadvantage. Then also if they managed to get a critical hit it displays them getting a critical hit as well. So the message would be like X character got a critical hit, or something along those lines. I remember there was a way to do it, but I can't seem to find the old thread, or video that I found explaining it. Any help would be much appreciated and I hope you have a great day. !scriptcard {{     --#overridetemplate|scroll     --#title|Character's Name     --=Modifier|?{Mod|0}     --=Skill Check| ?{Skill Check|Standard,1d20|Advantage,2d20kh1|Disadvantage,2d20kl1|Double Advantage, 3d20kh1| Double Disadvantage, 3d20kl1} + [$Modifier]     --+Skill Check|[$Skill Check] }}