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 .
×

Group Perception Macros Help

Hello all, I am using macros for the first time. I am trying to use a suggested macros for group perception  but I keep on running into issues.  I am inputting the following: /w gm !power {{  -- Lamaraith Highmoon Perception: [[d20+[[@{Lamaraith Highmoon|Perception}]]]] -- Hiro Locke Perception: [[d20+[[@{Hiro Locke|Perception}]]]] -- Reltar Torghest Perception: [[d20+[[@{Reltar Torghest|Perception}]]]] -- Warenven Oha Perception: [[d20+[[@{Warenven Oha|Perception}]]]] -- Suvel Dohro Perception: [[d20+[[@{Suvel Dohro|Perception}]]]] -- Iocrath Vordal Perception: [[d20+[[@{Iocrath Vordal|Perception}]]]] }} However, I am getting this error: No attribute was found for @{Hiro Locke|Perception} No attribute was found for @{Reltar Torghest|Perception} No attribute was found for @{Warenven Oha|Perception} No attribute was found for @{Suvel Dohro|Perception} No attribute was found for @{Iocrath Vordal|Perception} SyntaxError: Expected "(", ".", "[", "abs(", "ceil(", "d", "floor(", "round(", "t", "{", [ |\t], [+|\-] or [0-9] but "H" found. What am I doing wrong? Thanks!
1597549696
Oosh
Sheet Author
API Scripter
Which game are you playing, and which sheet are you using? For 5e you want [[d20 + @{name|perception_bonus}]] for an active roll (or @{name|passive_wisdom} for their passive perception). The Attribute name will be different for other sheets and other games. You can check on the Attributes & Abilities page, or with some sheets a mouse hover over the field will give you a tooltip with the name.
I just fudge it and correct if it changes: /w GM &{template:default} {{Alec (11)=[[1D20+1]]}} {{Casper (12)=[[1D20+2]]}} {{Crol (12)=[[1D20+2]]}} {{Gideon (14)=[[1d20+4]]}} {{Byron (15)=[[1d20+5]]}} Passive perception is in parenthesis, it then rolls perception I have input the character's mods.
al e. said: I just fudge it and correct if it changes: /w GM &{template:default} {{Alec (11)=[[1D20+1]]}} {{Casper (12)=[[1D20+2]]}} {{Crol (12)=[[1D20+2]]}} {{Gideon (14)=[[1d20+4]]}} {{Byron (15)=[[1d20+5]]}} Passive perception is in parenthesis, it then rolls perception I have input the character's mods. Thanks Al e. but I was hoping for a macros which would feed off of the perception indicated on each character sheet.
1597587847

Edited 1597587868
Oosh
Sheet Author
API Scripter
Oh.... I just noticed you're also trying to use a power card API command with a Plus account. Try a template instead: /w gm &{template:default} {{name=Group Perception}} {{Lamaraith Highmoon Perception=[[1d20+@{Lamaraith Highmoon|perception_bonus}]]}} {{Hiro Locke Perception=[[1d20+@{Hiro Locke|perception_bonus}]]}} {{Reltar Torghest Perception=[[1d20+@{Reltar Torghest|perception_bonus}]]}} {{Warenven Oha Perception=[[1d20+@{Warenven Oha|perception_bonus}]]}} {{Suvel Dohro Perception=[[1d20+@{Suvel Dohro|perception_bonus}]]}}{{Iocrath Vordal Perception=[[1d20+@{Iocrath Vordal|perception_bonus}]]}} For 5e, although you haven't specified a sheet :) Note that this does not incorporate Advantage/Disadvantage. That would need a Query per player, which could be annoying. You would need to change: {{Lamaraith Highmoon Perception=[[ 1d20 +@{Lamaraith Highmoon|perception_bonus}]]}} to {{Lamaraith Highmoon Perception=[[ ?{Lamaraith roll|Normal,1d20|Advantage,2d20kh1|Disadvantage,2d20kl1} +@{Lamaraith Highmoon|perception_bonus}]]}} for each character.
Oosh said: Which game are you playing, and which sheet are you using? For 5e you want [[d20 + @{name|perception_bonus}]] for an active roll (or @{name|passive_wisdom} for their passive perception). The Attribute name will be different for other sheets and other games. You can check on the Attributes & Abilities page, or with some sheets a mouse hover over the field will give you a tooltip with the name. I am using 5e. I'll try using the macros you recommend
Oosh said: Oh.... I just noticed you're also trying to use a power card API command with a Plus account. Try a template instead: /w gm &{template:default} {{name=Group Perception}} {{Lamaraith Highmoon Perception=[[1d20+@{Lamaraith Highmoon|perception_bonus}]]}} {{Hiro Locke Perception=[[1d20+@{Hiro Locke|perception_bonus}]]}} {{Reltar Torghest Perception=[[1d20+@{Reltar Torghest|perception_bonus}]]}} {{Warenven Oha Perception=[[1d20+@{Warenven Oha|perception_bonus}]]}} {{Suvel Dohro Perception=[[1d20+@{Suvel Dohro|perception_bonus}]]}}{{Iocrath Vordal Perception=[[1d20+@{Iocrath Vordal|perception_bonus}]]}} For 5e, although you haven't specified a sheet :) Note that this does not incorporate Advantage/Disadvantage. That would need a Query per player, which could be annoying. You would need to change: {{Lamaraith Highmoon Perception=[[ 1d20 +@{Lamaraith Highmoon|perception_bonus}]]}} to {{Lamaraith Highmoon Perception=[[ ?{Lamaraith roll|Normal,1d20|Advantage,2d20kh1|Disadvantage,2d20kl1} +@{Lamaraith Highmoon|perception_bonus}]]}} for each character. Your suggestion worked thanks!