Difference between revisions of "My location"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>Heeheehee
m (Function syntax was all funky. Not quite sure if it's fixed.)
Line 2: Line 2:
 
#vardefine:name|my_location}}{{
 
#vardefine:name|my_location}}{{
 
#vardefine:return_type|location}}{{
 
#vardefine:return_type|location}}{{
#vardefine:aggregate|yes}}{{
+
#vardefine:aggregate|no}}{{
#vardefine:return_also|buffer}}{{
 
  
 
FunctionPage|
 
FunctionPage|
Line 11: Line 10:
 
function1={{Function|
 
function1={{Function|
 
name={{#var:name}}|
 
name={{#var:name}}|
aggregate={{#var:aggregate}}|
 
 
return_type={{#var:return_type}}|
 
return_type={{#var:return_type}}|
 
return_also={{#var:return_also}}|
 
return_also={{#var:return_also}}|

Revision as of 06:42, 13 March 2010

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