Difference between pages "Miscellaneous ASH Features" and "To stat"
(Difference between pages)
Jump to navigation
Jump to search
imported>Icon315 m (→Additional Script Uses: Abc Order) |
imported>Bale m |
||
Line 1: | Line 1: | ||
− | {{ | + | {{ |
− | + | #vardefine:name|to_stat}}{{ | |
+ | #vardefine:return_type|stat}}{{ | ||
− | + | FunctionPage| | |
+ | name={{#var:name}}| | ||
− | + | function1={{Function| | |
+ | name={{#var:name}}| | ||
+ | aggregate={{#var:aggregate}}| | ||
+ | return_type={{#var:return_type}}| | ||
+ | return_also={{#var:return_also}}| | ||
+ | parameter1={{Param|int|convert}}| | ||
+ | }}| | ||
− | = | + | function_description=When supplied a string, returns the stat that corresponds to the specified parameter {{pspan|convert}}.| |
− | + | needscode=yes| | |
− | = | + | see_also={{SeeAlso|to_item|to_skill|to_monster}}| |
− | + | 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
When supplied a string, returns the stat that corresponds to the specified parameter convert.
See Also
Special
If no match is found for convert, this function returns $stat[ none ].