FAQ  •  Register  •  Login

Wow macro syntax

Moderator: MiRai

<<

piegarden

Posts: 24

Joined: Sat Jul 15, 2017 10:09 am

Post Fri Jul 06, 2018 2:59 pm

Wow macro syntax

This is likely very obvious :roll: . Is there a way to make the top half of these statements conditional as well (only invite if slot exists)?

/jamba-team add {SET1SLOT1}
/jamba-team add {SET2SLOT1}
/jamba-team add {SET2SLOT2}
/jamba-team add {SET2SLOT3}
/jamba-team add {SET2SLOT4}
/jamba-team add {SET2SLOT5}

!if ("slot 1" and character is not "slot 1") /jamba-team add {SLOT1}
!if ("slot 2" and character is not "slot 2") /jamba-team add {SLOT2}
!if ("slot 3" and character is not "slot 3") /jamba-team add {SLOT3}
!if ("slot 4" and character is not "slot 4") /jamba-team add {SLOT4}
!if ("slot 5" and character is not "slot 5") /jamba-team add {SLOT5}
!if ("slot 6" and character is not "slot 6") /jamba-team add {SLOT6}
<<

bob

User avatar

League of Extraordinary Multiboxers

Posts: 3271

Joined: Sat Feb 15, 2014 11:14 am

Location: In the dining room, with the lead pipe.

Post Fri Jul 06, 2018 3:21 pm

Re: Wow macro syntax

the way I read this page, it would be something like

!if ("{SET2SLOT1}" and character is not "{SET2SLOT1}") /jamba-team add {SET2SLOT1}
<<

piegarden

Posts: 24

Joined: Sat Jul 15, 2017 10:09 am

Post Fri Jul 06, 2018 3:30 pm

Re: Wow macro syntax

Works! Thanks! :D

Return to World of Warcraft

Who is online

Users browsing this forum: No registered users and 2 guests