Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Powercard macro for chat

I'm not a script or macro monkey to any degree so I'll explain in as much detail as possible what I want to do. I have a player who can't use a mic, so she types everything in chat. She is running a warforged. Part of her backstory is where she lost the ability to speak and the words appear on a display she has on her arm. What I'm trying to do is provide her with a macro, "Chat" she can click on and it will prompt her for what she wants to say then throw it up on the right side of the screen above the chat box as a powercard and play a sound fx that alerts everyone that she said something. Something along the lines of !power {{ --name|@{selected|character_name} --description|all the text here} --soundfx|some scifi sound here}} Any ideas?
1666292540
David M.
Pro
API Scripter
I don't use powercards, but here is a simple Scriptcard that I does what you are asking, in case you don't get the powercards version working. The --+ line prints the text to the card output (in chat). Anything to the left of the vertical pipe (omitted in this example) would be treated as a line header and would be bolded, whereas text to the right of the pipe is regular font unless overridden with additional scriptcard syntax. The --a| line is where the audio file is triggered. Put your audio track name there. The --#title line is obvious :) !script {{   --#title|@{selected|character_name}   --+|?{Enter text|}   --a|trackName }}