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

Whisper Macro with a copy paste message

I'm not 100% sure how to explain my problem, but when using the macro that looks like this. /w "?{Who|c1|c2|c3|c4}" ?{Message} it just prompts for me to type in a message in the {Message} box, but what I'm looking for is to make the: /w "?{Who|c1|c2|c3|c4}"  part just have me select a person and that person receives a copy pasted message whispered "The whispers of the Dark Gods claw at your willpower." Is there any way to do this? I've tried replacing {Message} with what I wanted but that resulted in nothing good. I've also tried removing the ? I have no coding skills, I'm basically an amoeba at this. Any help would be appreciated.
try this instead /w @{selected|token_name} ?{message} you select the player token and then paste your message into the message box.
Stephen U. said: try this instead /w @{selected|token_name} ?{message} you select the player token and then paste your message into the message box. Okay but there's no way of making the message inside the macro? Because it's always going to be the same message, so it would be a lot more convenient if it was just a part of the macro itself.
You can just put the message instead of the ?{message}
Kilter said: You can just put the message instead of the ?{message} it doesn't whisper the message when I do that
1602862419

Edited 1602862462
make sure it is all on one line and the selected token is controlled by the player you want
if that doesn't work put " @{selected|character_name} "
Kilter said: if that doesn't work put " @{selected|character_name} " That actually fixed it, it's all just very ugly and jumbled together but I can work with it :D Thanks!
1602865657
Kraynic
Pro
Sheet Author
If the character sheet you are using has a roll template built into it, you could use the roll template to "prettify" the output.&nbsp; How that is created will depend on what sheet you are using in your games though.&nbsp; The default template might work, but it has a hard coded 2 column table built in, so it won't display&nbsp; as nice as a template that is set up for a notes or description section. Using the default template might look like this: /w "@{selected|character_name}" &amp;{template:default} {{name=Header Label}} {{message here}} I think you can totally remove the name section if you don't need the header, but I haven't used it that way myself.&nbsp; You can do more of the "message here" bits.&nbsp; Each one will be treated as a new section of the output and will alternate white and a light grey background to differentiate the sections.&nbsp; More info on the default template that is available in all games can be found here:&nbsp; <a href="https://wiki.roll20.net/Roll_Template#Built-In_Roll_Templates" rel="nofollow">https://wiki.roll20.net/Roll_Template#Built-In_Roll_Templates</a> If the sheet you are using has a template built in, there may be a wiki page for that sheet and roll template.
Kraynic said: If the character sheet you are using has a roll template built into it, you could use the roll template to "prettify" the output.&nbsp; How that is created will depend on what sheet you are using in your games though.&nbsp; The default template might work, but it has a hard coded 2 column table built in, so it won't display&nbsp; as nice as a template that is set up for a notes or description section. Using the default template might look like this: /w "@{selected|character_name}" &amp;{template:default} {{name=Header Label}} {{message here}} I think you can totally remove the name section if you don't need the header, but I haven't used it that way myself.&nbsp; You can do more of the "message here" bits.&nbsp; Each one will be treated as a new section of the output and will alternate white and a light grey background to differentiate the sections.&nbsp; More info on the default template that is available in all games can be found here:&nbsp; <a href="https://wiki.roll20.net/Roll_Template#Built-In_Roll_Templates" rel="nofollow">https://wiki.roll20.net/Roll_Template#Built-In_Roll_Templates</a> If the sheet you are using has a template built in, there may be a wiki page for that sheet and roll template. Ooooh, that standard template actually makes it look really nice! Do you know why the text is right side aligned instead of left?
1602866622
Kraynic
Pro
Sheet Author
Well, if you are using the template the normal way, the {{message here}} would probably be something like {{Attack=[[1d20]]}}.&nbsp; The = is the column divider.&nbsp; If you put the = after your message, I think it will push the text to be left aligned, but will also make it all bold I think.
Kraynic said: Well, if you are using the template the normal way, the {{message here}} would probably be something like {{Attack=[[1d20]]}}.&nbsp; The = is the column divider.&nbsp; If you put the = after your message, I think it will push the text to be left aligned, but will also make it all bold I think. Ah that makes sense, thanks a lot you've been a great help Kraynic :)
1602867064

Edited 1602867239
Tom J. said: Kraynic said: The default template might work, but it has a hard coded 2 column table built in, so it won't display&nbsp; as nice as a template that is set up for a notes or description section. Ooooh, that standard template actually makes it look really nice! Do you know why the text is right side aligned instead of left? Because the 'default' template uses a hard-coded 2 column table, the left side of each row is automatically right-side aligned, and the right side of each row is left-side aligned. If you tell us which character sheet you are using, someone could likely suggest other roll template ideas, such as the 'npcaction' template for the 'D&amp;D 5e by Roll20' character sheet, which would look like this: /w "@{selected|character_name}" &amp;{template:npcaction} {{rname=Whispers}} {{name=Dark Gods}} {{description=The whispers of the Dark Gods claw at your willpower}}
Jarren K. said: Tom J. said: Kraynic said: The default template might work, but it has a hard coded 2 column table built in, so it won't display&nbsp; as nice as a template that is set up for a notes or description section. Ooooh, that standard template actually makes it look really nice! Do you know why the text is right side aligned instead of left? Because the 'default' template uses a hard-coded 2 column table, the left side of each row is automatically right-side aligned, and the right side of each row is left-side aligned. If you tell us which character sheet you are using, someone could likely suggest other roll template ideas, such as the 'npcaction' template for the 'D&amp;D 5e by Roll20' character sheet, which would look like this: /w "@{selected|character_name}" &amp;{template:npcaction} {{rname=Whispers}} {{name=Dark Gods}} {{description=The whispers of the Dark Gods claw at your willpower}} I'm using the template called Warhammer Fantasy 4th Edition Authors: Djjus
1602872375
Kraynic
Pro
Sheet Author
That sheet certainly has a built in roll template, but it is huge (I looked it up on github).&nbsp; If there is a roll on the sheet that has a notes section, you might be able to roll it, then put your cursor in the chat entry field and hit the up arrow to see what code it is using.&nbsp; Then you could alter that for your custom template call.&nbsp; I don't have time to create a game with that sheet and test at the moment.&nbsp; Maybe someone else that has used that sheet will come along with a quick answer.