Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
/if (${Zone.ID}==31)
/end
/camp desktop
/quit
/if (${Zone.ID}!==31)
/end
/camp desktop
/quit
HardOne said:For those wanting an even to be called after zoning, the format has changed (as most of you may know)
An event will no longer trigger onRich (BB code):#Event EnteredNewZone "You have entered #1#."
If order to work around this we need to do a couple things.
In your Sub Main place the following code
Rich (BB code):Sub Main /declare currentZone int outer ${Zone.ID}
then in your Macro's loop add this:
Rich (BB code)::loop /if (${Zone.ID}!=${currentZone}) /call Event_EnteredNewZone
Once that is done, in your entering zone event you need at a minimum the following (look at the bold stuff.) (Note: the event is commented out with a | since it won't be called on zoning, but I left the line there for easy of recognition)
Rich (BB code):|#Event EnteredNewZone "You have entered #1#." Sub Event_EnteredNewZone(string Line, string ZoneName) /echo entered zone ${Zone.Name} /varset currentZone ${Zone.ID} /return