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

Macromule, Token Abilities, Chat Menu forcing roll query windows before they're clicked?

1657862159

Edited 1657862170
I'm trying to migrate my stuff to a macro mule, including my chat menu. It seems to work, for the most part. What doesn't work is this (I suspect): [**AoE Attacks**](%{MacroMule|AoEGenerator}) What I want is a link that when clicked, calls the AoEGenerator token ability(which is essentially the default AoEGenerator macro, fitted for the DND5e template) from the MacroMule character. What happens is that when I click my Macro-Menu macro bar button to pull up the macro menu I made, I get a result that looks like a broken combination of the two menus. Does anyone know what I'm doing wrong?. Macro-Menu /w gm &{template:npcaction} {{rname=Macro Menu}}{{description=**Token Fixes and Toggles** [Make Token Action Buttons](!ta) | [Name to DM](!token-mod --flip showname) | [Name to Players](!token-mod --flip showplayers_name) | [Health Bar to Players](!token-mod --flip showplayers_bar1) | [Fix Player Bubbles](!token-mod --set bar1_link|hp) | [Set Default Token](!token-mod --set represents|@{selected|character_id} defaulttoken) | [Resize Token(Medium)](!token-mod --set scale|5s) [**Group Check**](!group-check --whisper) [**Dead Token**](#Dead-Token) **Vision** [On](!token-mod --set has_bright_light_vision|on has_night_vision|on light_angle|360) | [Off](!token-mod --set has_bright_light_vision|off has_night_vision|off light_angle|360) | [GM](!token-mod --set has_bright_light_vision|on has_night_vision|on night_vision_distance|10 light_angle|360) [Touch](!token-mod --set has_bright_light_vision|on has_night_vision|on night_vision_distance|5 light_angle|360) | [Blindfighting](!token-mod --set has_bright_light_vision|on has_night_vision|on night_vision_distance|10 light_angle|360) [Darkvision](!token-mod --set has_bright_light_vision|on has_night_vision|on night_vision_distance|60 light_angle|360 night_vision_effect|nocturnal) | [DV90](!token-mod --set has_bright_light_vision|on has_night_vision|on night_vision_distance|90 light_angle|360 night_vision_effect|nocturnal) | [DV120](!token-mod --set has_bright_light_vision|on has_night_vision|on night_vision_distance|120 light_angle|360 night_vision_effect|nocturnal) | [DV off](!token-mod --set has_bright_light_vision|on has_night_vision|off night_vision_distance|0 light_angle|360) **Light** [Off](!token-mod --set emits_bright_light|off emits_low_light|off light_angle|360) | [On](!token-mod --set emits_bright_light|on emits_low_light|on light_angle|360) | [Spot](!token-mod --set emits_bright_light|on bright_light_distance|5 low_light_distance|0 light_angle|360) | [Candle](!token-mod --set emits_bright_light|on emits_low_light|on bright_light_distance|2 low_light_distance|5 light_angle|360) | [Lamp](!token-mod --set emits_bright_light|on emits_low_light|on bright_light_distance|15 low_light_distance|15 light_angle|360) | [Torch](!token-mod --set emits_bright_light|on emits_low_light|on bright_light_distance|20 low_light_distance|20 light_angle|360) [Hooded Lantern](!token-mod --set emits_bright_light|on emits_low_light|on bright_light_distance|30 low_light_distance|30 light_angle|360) | [Bullseye Lantern](!token-mod --set emits_bright_light|on emits_low_light|on bright_light_distance|60 low_light_distance|60 light_angle|90) [*Light*](!token-mod --set emits_bright_light|on emits_low_light|on bright_light_distance|20 low_light_distance|20 light_angle|360) | [*Daylight*](!token-mod --set emits_bright_light|on emits_low_light|on bright_light_distance|60 low_light_distance|60 light_angle|360) | [*Dancing*](!token-mod --set emits_bright_light|off emits_low_light|on bright_light_distance|0 low_light_distance|10 light_angle|360) | [*Faerie Fire*](!token-mod --set emits_bright_light|off emits_low_light|on bright_light_distance|0 low_light_distance|10 statusmarkers|purple light_angle|360) [*Gem of Brightness*](!token-mod --set emits_bright_light|on emits_low_light|on bright_light_distance|30 low_light_distance|30 light_angle|360) [**AoE Attacks**](%{MacroMule|AoEGenerator}) **Initiative** [Clear Tracker](!group-init --clear) [Sort](!group-init --sort) }} AoEGenerator /w gm &{template:npcaction}{{rname=AoE Generator}} {{description=***CAST AT RANGE*** **Square / Cube** [5ft](~AoEControlToken|5ft-Square) | [10ft](~AoEControlToken|10ft-Square) | [20ft](~AoEControlToken|20ft-Square) | [30ft](~AoEControlToken|30ft-Square) | [40ft](~AoEControlToken|40ft-Square) **Circle / Sphere** [5ft](~AoEControlToken|5ft-Circle) | [10ft](~AoEControlToken|10ft-Circle) | [20ft](~AoEControlToken|20ft-Circle) | [30ft](~AoEControlToken|30ft-Circle) | [40ft](~AoEControlToken|40ft-Circle) ***FROM CASTER*** **Square / Cube** [5ft](~AoEControlToken|5ft-Square-Caster) | [10ft](~AoEControlToken|10ft-Square-Caster) | [15ft](~AoEControlToken|15ft-Square-Caster) | [20ft](~AoEControlToken|20ft-Square-Caster) | [30ft](~AoEControlToken|30ft-Square-Caster) | [40ft](~AoEControlToken|40ft-Square-Caster) | [Variable](~AoEControlToken|Variable-Square) **Circle / Sphere** [5ft](~AoEControlToken|5ft-Circle-Caster) | [10ft](~AoEControlToken|10ft-Circle-Caster) | [15ft](~AoEControlToken|15ft-Circle-Caster) | [20ft](~AoEControlToken|20ft-Circle-Caster) | [30ft](~AoEControlToken|30ft-Circle-Caster) | [40ft](~AoEControlToken|40ft-Circle-Caster) | [Variable](~AoEControlToken|Variable-Circle) **Line** [30ft](~AoEControlToken|30ft-Line) | [60ft](~AoEControlToken|60ft-Line) | [100ft](~AoEControlToken|100ft-Line) | [Variable](~AoEControlToken|Variable-Line) **Cone (Query)** [15ft](~AoEControlToken|15ft-Cone) | [30ft](~AoEControlToken|30ft-Cone) | [60ft](~AoEControlToken|60ft-Cone) | [Variable](~AoEControlToken|Variable-Cone) **5e-Cone** [15ft](~AoEControlToken|15ft-5eCone) | [30ft](~AoEControlToken|30ft-5eCone) | [60ft](~AoEControlToken|60ft-5eCone) | [Variable](~AoEControlToken|Variable-5eCone)}}
Kyle K. said: I'm trying to migrate my stuff to a macro mule, including my chat menu. It seems to work, for the most part. What doesn't work is this (I suspect): [**AoE Attacks**](%{MacroMule|AoEGenerator}) Your suspicions are correct. The syntax you're using is expanding the ability immediately. You need to change it to [**AoE Attacks**](~MacroMule|AoEGenerator) This will call the ability on click instead of immediately.
1657896935

Edited 1657897079
RainbowEncoder said: Kyle K. said: I'm trying to migrate my stuff to a macro mule, including my chat menu. It seems to work, for the most part. What doesn't work is this (I suspect): [**AoE Attacks**](%{MacroMule|AoEGenerator}) Your suspicions are correct. The syntax you're using is expanding the ability immediately. You need to change it to [**AoE Attacks**](~MacroMule|AoEGenerator) This will call the ability on click instead of immediately. I knew I was missing something simple. Thank you so much! Related question, given my Macro-Menu, how can I make it so I don't need to have a token selected to open it?
1657897832
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Set up a collections macro that calls the macro mule ability. Click the option to make it appear on the macro bar. In this case, you would use that other syntax: %{MacroMule|Macro-Menu}
keithcurtis said: Set up a collections macro that calls the macro mule ability. Click the option to make it appear on the macro bar. In this case, you would use that other syntax: %{MacroMule|Macro-Menu} Oh okay, that's handy! I actually just decided to separate out the menus that need a token into their own menus, referencing them the same way as the AoEGenerator. Thank you both! I love how helpful everyone on this forum is.