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 .
×
The developers are currently investigating an issue with logging in + accessing the VTT.
Create a free account

Whisper functions and Macros

I am createing a Random Monster Macro... Since there are no if statements I am trying to line by line it... /w GM  &{template:default} {{name=Random Monster Tier 1/2}}   Chance of Encounter Roll of 1 =[[1d6]]   Attack Roll=[[1d8]]   1 Giant Centipede [[3]]   2 Giant Cave Locusts [[5]]  3-5  [[1t[CYNIDICEAN Encounters]]]  6 Giant Ferrets [[3]]   6 Goblins [[7]]  Doing the Macro this way whispers only the first line.  Is there way to get the whisper to GM without  a whisper command on each line? Thanks
1622135528

Edited 1622135551
For the default template you can't have multiple lines of code .  You create an output of several lines by using {{ }}, so it'll look like this: /w GM &{template:default} {{name=Random Monster Tier 1/2}} {{Chance of Encounter Roll of 1 =[[1d6]]}} {{Attack Roll=[[1d8]]}} {{Giant Centipede [[3]]}} {{2 Giant Cave Locusts [[5]]}} {{3-5  [[1t[CYNIDICEAN Encounters]]]}} {{6 Giant Ferrets [[3]]}} {{6 Goblins [[7]]}} You can get fancier than that with the output but that's the basic idea. The default template splits each line into two columns, which are separated by an equals sign '='. So I think you might be looking for something like this: /w GM &{template:default} {{name=Random Monster Tier 1/2}} {{Chance of Encounter Roll of 1 =[[1d6]]}} {{Attack Roll=[[1d8]]}} {{1=Giant Centipede [[3]]}} {{2=Giant Cave Locusts [[5]]}} {{3-5=[[1t[CYNIDICEAN Encounters]]]}} {{6=Giant Ferrets [[3]]}} {{6=Goblins[[7]]}} If you're using a character sheet it's possible to use a roll template instead for a nicer looking output (such as &{template:npcaction} for the D&D 5E by Roll20 sheet).