My location

From Kolmafia
Revision as of 06:42, 13 March 2010 by imported>Heeheehee (Function syntax was all funky. Not quite sure if it's fixed.)
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].