To url: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
No edit summary
imported>Bale
mNo edit summary
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=String Handling Routines|


function1={{Function|
function1={{Function|
Line 23: Line 22:
special=Trying to use $location[none] will generate an "Unexpected error."|
special=Trying to use $location[none] will generate an "Unexpected error."|
}}
}}
[[Category:String Handling Routines]]

Revision as of 05:09, 22 May 2010

needs(code_samples);

Function Syntax

string to_url(location place )

  • place is an in-game location to parse

Returns the short url (normally of the form "adventure.php?snarfblat=") used to visit the location place.

See Also

visit_url()

Special

Trying to use $location[none] will generate an "Unexpected error."