need help getting a macro sorted out
i found a macro on the forums to allow be to quickly add/remove status icons on tokens but i can't seem to get it to work
i have the required script installed but when i run it i get 2 errors (missing variables that arn't standard to the character sheet but they should only cause missing values from what i can tell) and a blank gm whisper output
the script is:
/w GM @{selected|output_option} &{template:5eDefault} {{classaction=1}} {{character_name=@{selected|character_name}}} @{selected|show_character_name} {{title=@{selected|Token_name} Status Board}} {{freetext=[Blinded](!token-mod --set statusmarkers|bleeding-eye name|@{selected|character_name}_Blinded) • A blinded creature can’t see and automatically fails any ability check that requires sight. • Attack rolls against the creature have advantage, and the creature’s attack rolls have disadvantage.
[Charmed](!token-mod --set statusmarkers|broken-heart name|@{selected|character_name}_Charmed) • A charmed creature can't attack the charm er or target the charm er with harmful abilities or magical effects. • The charmer has advantage on any ability check to interact socially with the creature.
[Deafened](!token-mod --set statusmarkers|edge-crack name|@{selected|character_name}_Deafened) • A deafened creature can’t hear and automatically fails any ability check that requires hearing.
[Frightened](!token-mod --set statusmarkers|screaming name|@{selected|character_name}_Frightened) • A frightened creature has disadvantage on ability checks and attack rolls while the source of its fear is within line of sight. • The creature can’t willingly move closer to the source of its fear.
[Grappled](!token-mod --set statusmarkers|grab name|@{selected|character_name}_Grappled) • A grappled creature’s speed becomes 0, and it can't benefit from any bonus to its speed. • The condition ends if the grappler is incapacitated (see the condition). • The condition also ends if an effect removes the grappled creature from the reach o f the grappler or grappling effect, such as when a creature is hurled away by the thunderwave spell.
[invisibility](!token-mod --set statusmarkers|ninja-mask name|@{selected|character_name}_invisible) • An invisible creature is impossible to see without the aid o f magic or a special sense. For the purpose of hiding, the creature is heavily obscured. The creature’s location can be detected by any noise it makes or any tracks it leaves. • Attack rolls against the creature have disadvantage, and the creature’s attack rolls have advantage. [Paralyzed](!token-mod --set statusmarkers|lightning-helix name|@{selected|character_name}_Paralyzed) • A paralyzed creature is incapacitated (see the condition) and can’t move or speak. • The creature automatically fails Strength and Dexterity saving throws. • Attack rolls against the creature have advantage. • Any attack that hits the creature is a critical hit if the attacker is within 5 feet of the creature.
[Petrified](!token-mod --set statusmarkers|aura name|@{selected|character_name}_Petrified) • A petrified creature is transformed, along with any nonmagical object it is wearing or carrying, into a solid inanimate substance (usually stone). Its weight increases by a factor of ten, and it ceases aging. • The creature is incapacitated (see the condition), can’t move or speak, and is unaware o f its surroundings. • Attack rolls against the creature have advantage. • The creature automatically fails Strength and Dexterity saving throws. • The creature has resistance to all damage. • The creature is immune to poison and disease, although a poison or disease already in its system is suspended, not neutralized [Poisoned](!token-mod --set statusmarkers|chemical-bolt name|@{selected|character_name}_Poisoned) • A poisoned creature has disadvantage on attack rolls and ability checks.
[Prone](!token-mod --set statusmarkers|back-pain name|@{selected|character_name}_Prone) • A prone creature’s only movement option is to crawl, unless it stands up and thereby ends the condition. • The creature has disadvantage on attack rolls. • An attack roll against the creature has advantage if the attacker is within 5 feet of the creature. Otherwise, the attack roll has disadvantage.
[Restrained](!token-mod --set statusmarkers|fishing-net name|@{selected|character_name}_Restrained) • A restrained creature’s speed becomes 0, and it can’t benefit from any bonus to its speed. • Attack rolls against the creature have advantage, and the creature’s attack rolls have disadvantage. • The creature has disadvantage on Dexterity saving throws. [Stunned](!token-mod --set statusmarkers|fist name|@{selected|character_name}_Stunned) • A stunned creature is incapacitated (see the condition), can’t move, and can speak only falteringly. • The creature automatically fails Strength and Dexterity saving throws. • Attack rolls against the creature have advantage. [Unconscious](!token-mod --set statusmarkers|sleepy|back-pain name|@{selected|character_name}_Unconscious/Prone) • Any attack that hits the creature is a critical hit if the attacker is within 5 feet of the creature. • The creature drops whatever it’s holding and falls prone. [Dead](!token-mod --set statusmarkers||dead)[Not-Dead](!token-mod --set statusmarkers|-dead)
[Clearall](!token-mod --set statusmarkers|-bleeding-eye|-broken-heart|-edge-crack|-screaming|-grab|-lightning-helix|-aura|-chemical-bolt|-back-pain|-fishing-net|-fist|-sleepy|-ninja-mask name|@{selected|character_name})}}
sorry to those on moble but it's too big to go throug and break formating susposidly this macro is meant to output a box with buttons for each status that can be clicled to apply the porper marker and a discription of the status
Edit: ok one concession for moble users each if the status names looks like [Charmed](!token-mod --set statusmarkers|broken-heart name|@{selected|character_name}_Charmed) with the apropreate status and mark subbed in
edit 2: thanks to u/robinkuiper for figureing out the problem and for creating not one but two versions of the macro to work with the 5EOGL character sheet
Posted Mar 27, 2018, 2:11 AM UTC · edited