Sub Main
[COLOR="Red"]/declare StartZone int outer 0
/varset StartZone ${Zone.ID}[/COLOR]
:MainLoop
[COLOR="Red"]/call ZoneCheck[/COLOR]
Whatever you are doing goes here
/goto :MainLoop
/return
[COLOR="Red"]Sub ZoneCheck
/if (${Zone.ID}!=${StartZone}
/camp desktop
/delay 1 m
/camp desktop
/delay 1m
/camp desktop
/endmac
}
/return[/COLOR]
Sub ZoneCheck
/if (${Zone.ID}!=${StartZone}
/camp desktop
/delay 1 m
/camp desktop
/delay 1m
/camp desktop
/endmac
}
/return
Sub ZoneCheck
/if (${Zone.ID}!=${StartZone}) {
/return
} Else {
/camp desktop
/delay 1 m
/camp desktop
/delay 1m
/camp desktop
/endmac
}
/return
Sub ZoneCheck
/if (${Zone.ID}==${StartZone})
/camp desktop
/delay 1 m
/camp desktop
/delay 1m
/camp desktop
/endmac
}
/return
When it says "you have entered <zone>" I want it to /camp.
I know this probably isn't a big deal but as I read ${Zone.ID}!=${StartZone} this will have your character camp as soon as you leave the zone you start in. So the macro would need to be set up to leave the start zone before making this check and the check would need to replace != with == or make it an /if Else statement.
Sub ZoneCheck
/if (${Zone.ID}==${StartZone})
/camp desktop
/delay 1 m
/camp desktop
/delay 1m
/camp desktop
/endmac
}
/return
Sub ZoneCheck
/if (${Zone.ID}==${StartZone}) [COLOR="Red"]{[/COLOR]
/camp desktop
/delay 1 m
/camp desktop
/delay 1m
/camp desktop
/endmac
}
/return
He wants it to camp when he leaves the zone he was in. Instance ran out of time or he died. It is just easier to camp out then stay sitting in game. Also the macro is not set up to leave the zone. It is set up to check you have not changed zones, if you have then take this step and camp yourself out.
#Event Zoned "#*#You have entered#*#"
Sub Main
:mainloop
|do things, but make sure you have a doevents check in there somewhere
/doevents
/goto :mainloop
/return
Sub Event_Zoned
/camp
/endmacro
/return
They could have fixed it I dont remember ever seeing a fix posted but the chat you have entered was not being picked up by MQ2.
I know this probably isn't a big deal but as I read ${Zone.ID}!=${StartZone} this will have your character camp as soon as you leave the zone you start in. So the macro would need to be set up to leave the start zone before making this check and the check would need to replace != with == or make it an /if Else statement.Code:Sub ZoneCheck /if (${Zone.ID}!=${StartZone} [COLOR="Red"]{[/COLOR] /camp desktop /delay 1 m /camp desktop /delay 1m /camp desktop /endmac } /return
Code:Sub ZoneCheck /if (${Zone.ID}!=${StartZone}) { /return } Else { /camp desktop /delay 1 m /camp desktop /delay 1m /camp desktop /endmac } /return
Just my 2cp.Code:Sub ZoneCheck /if (${Zone.ID}==${StartZone}) /camp desktop /delay 1 m /camp desktop /delay 1m /camp desktop /endmac } /return
/if (${Zone.ID}!=${StartZone} && ${Zone.ID}!=${HuntZone} {
Code:Sub ZoneCheck /if (${Zone.ID}==${StartZone}) /camp desktop /delay 1 m /camp desktop /delay 1m /camp desktop /endmac } /return
Your code doesn't make sense magic, even if you put in the starting bracket, it would camp in the same zone you are suppose to be in, VP had it right.
Code:Sub ZoneCheck /if (${Zone.ID}==${StartZone}) [COLOR="Red"]{[/COLOR] /camp desktop /delay 1 m /camp desktop /delay 1m /camp desktop /endmac } /return