To stat: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
was missing
 
imported>Bale
No edit summary
Line 1: Line 1:
{{
{{
#vardefine:name|to_stat}}{{
#vardefine:name|to_stat}}{{
#vardefine:return_type|skill}}{{
#vardefine:return_type|stat}}{{


FunctionPage|
FunctionPage|

Revision as of 09:10, 3 May 2010

needs(code_samples);

Function Syntax

stat to_stat(int 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 ].