My location

From Kolmafia
Revision as of 15:20, 13 March 2010 by imported>StDoodle (Ah yes; left an extra vardefine; good catch heeheehee)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

location my_location()

Returns the last location your character has adventured at.

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].