Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- automacro base_<_15_&_job_<_5 {
- BaseLevel < 15
- JobLevel < 5
- priority 9
- exclusive 1
- run-once 1
- call FirstMacro
- }
- macro FirstMacro {
- do c hey
- do c this macro is working
- do c YEAAH!!
- do sit
- do c Now i am sitting
- do stand
- do c Not anymore
- do c Macro FirstMacro is exclusive 1, so automacros are not being checked.
- do c Now I will call another macro
- call otherMacro
- do c We Have returned to FirstMacro
- do c Now on Macro FirstMacro is exclusive 1 again, so automacros are not being checked.
- do c end
- }
- macro otherMacro {
- do c Now we are in otherMacro
- do c Macro otherMacro inherited exclusive 1 from FirstMacro so automacros are not being checked.
- do c Now we will set exclusive to 0
- set exclusive 0
- do c Macro otherMacro now has it's own exclusive value which is 0, so while on otherMacro automacros are being checked.
- do c When we get back to Macro FirstMacro exclusive will be set to it's own value which is 1
- do c Returning
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement