- name is the monster name to convert
- id is KoL's id number for a monster
Returns the specified monster name as a monster, or converts KoL's monster id into its monster value.
Following example shows basic to_monster operations.It gives the following output.
goth giant gives Goth Giant. beefy bat gives beefy bodyguard bat. flock of sta gives Flock of Stab-Bats.
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.