[if (Rage=1), CODE:
Warning: Rage has been Activated! [h:StrMod=StrMod+2][h:HP=HP+(HD*2)][h:MaxHP=MaxHP+(HD*2)][h:Will=Will+2][h:Fort=Fort+2][h:AC=AC-2])]
I have never been good at if statements, was wondering what's wrong with this?
Rage Macro?
Moderators: dorpond, trevor, Azhrei, Gamerdude
Re: Rage Macro?
Bad syntax:LastRose wrote:[if (Rage=1), CODE:
Warning: Rage has been Activated! [h:StrMod=StrMod+2][h:HP=HP+(HD*2)][h:MaxHP=MaxHP+(HD*2)][h:Will=Will+2][h:Fort=Fort+2][h:AC=AC-2])]
I have never been good at if statements, was wondering what's wrong with this?
Code: Select all
[if (Rage == 1), CODE: {
Warning: Rage has been Activated!
[h:StrMod=StrMod+2][h:HP=HP+(HD*2)][h:MaxHP=MaxHP+(HD*2)][h:Will=Will+2][h:Fort=Fort+2][h:AC=AC-2]
};{}]
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Rage Macro?
and passive sentences are ugly and to be avoided as much as possible:
Warning: Rage is activated!
or
Warning: Rage is now active!
or
Warning: some veins just popped in your eyes and salivated froth forms in the corners of your mouth. You also have the uncanny urge to roar and your mind is overwhelmed by a four letter word, but not the one Kim Wild uses...!
Warning: Rage is activated!
or
Warning: Rage is now active!
or
Warning: some veins just popped in your eyes and salivated froth forms in the corners of your mouth. You also have the uncanny urge to roar and your mind is overwhelmed by a four letter word, but not the one Kim Wild uses...!
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS