Difference between revisions of "To familiar"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
(Created page with '{{ #vardefine:name|to_familiar}}{{ #vardefine:return_type|familiar}}{{ FunctionPage| name={{#var:name}}| function_category=Datatype Conversions| function1={{Function| name={{#v…')
 
imported>Bale
m
Line 5: Line 5:
 
FunctionPage|
 
FunctionPage|
 
name={{#var:name}}|
 
name={{#var:name}}|
function_category=Datatype Conversions|
 
  
 
function1={{Function|
 
function1={{Function|
Line 30: Line 29:
 
special=If no match is found, this function returns $familiar[ none ].|
 
special=If no match is found, this function returns $familiar[ none ].|
 
}}
 
}}
 +
 +
[[Category:Datatype Conversions]]

Revision as of 05:21, 22 May 2010

needs(code_samples);

Function Syntax

familiar to_familiar(int convert )

familiar to_familiar(string convert )

  • convert is an ID # or familiar name to convert

Returns the familiar associated with either the KoL in-game ID # or name matching convert.

Special

If no match is found, this function returns $familiar[ none ].