My location: Difference between revisions
Jump to navigation
Jump to search
imported>Heeheehee m Function syntax was all funky. Not quite sure if it's fixed. |
imported>StDoodle m Ah yes; left an extra vardefine; good catch heeheehee |
||
Line 2: | Line 2: | ||
#vardefine:name|my_location}}{{ | #vardefine:name|my_location}}{{ | ||
#vardefine:return_type|location}}{{ | #vardefine:return_type|location}}{{ | ||
FunctionPage| | FunctionPage| |
Revision as of 15:20, 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].