To stat

From Kolmafia
Revision as of 02:36, 23 January 2015 by imported>Eliteofdelete (it takes strings, not ints)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

stat to_stat(string convert )

When supplied a string, returns the stat that corresponds to the specified parameter convert.

See Also

to_item() | to_skill() | to_monster()

Special

If no match is found for convert, this function returns $stat[ none ].