My location
needs(code_samples);
Function Syntax
location my_location()
Returns your current location. If you are not in combat, this will mostly be the location where you most recently adventured. However, for a betweenBattleScript, it will be the location at which you are about to adventure.
CLI Equivalent
The CLI command "locations" will list all locations adventured at during your current session, along with adventures spent at each.
Special
When not logged in, this function returns $location[none].