To monster

From Kolmafia
Revision as of 22:43, 13 March 2010 by imported>StDoodle (Created page with '{{ #vardefine:name|to_monster}}{{ #vardefine:return_type|monster}}{{ FunctionPage| name={{#var:name}}| function_category=Datatype Conversions| function1={{Function| name={{#var…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

monster to_monster(string name )

  • name is the monster name to convert

Returns the specified monster name as a monster.

Special

Since direct casting with $monster[ ] is already case-insensitive and accepts partial matches, this function is only useful for converting a string variable to a monster.