Page 1 of 1

Wow macro syntax

PostPosted: Fri Jul 06, 2018 2:59 pm
by piegarden
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}

Re: Wow macro syntax

PostPosted: Fri Jul 06, 2018 3:21 pm
by bob
the way I read this page, it would be something like

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

Re: Wow macro syntax

PostPosted: Fri Jul 06, 2018 3:30 pm
by piegarden
Works! Thanks! :D