To stat: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
No edit summary
imported>Bale
mNo edit summary
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Datatype Conversions|


function1={{Function|
function1={{Function|
Line 23: Line 22:
special=If no match is found for {{pspan|convert}}, this function returns $stat[ none ].|
special=If no match is found for {{pspan|convert}}, this function returns $stat[ none ].|
}}
}}
[[Category:Datatype Conversions]]

Revision as of 05:22, 22 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 ].