To familiar

From Kolmafia
Revision as of 00:21, 14 March 2010 by 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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 ].