Difference between revisions of "Outfit"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
(RFI Answered)
imported>Bale
m
Line 5: Line 5:
 
FunctionPage|
 
FunctionPage|
 
name={{#var:name}}|
 
name={{#var:name}}|
function_category=Equipment|
 
  
 
function1={{Function|
 
function1={{Function|
Line 23: Line 22:
 
cli_equiv=The CLI command command "outfit" with works similarly when supplied an outfit name as a parameter.|
 
cli_equiv=The CLI command command "outfit" with works similarly when supplied an outfit name as a parameter.|
 
}}
 
}}
 +
 +
[[Category:Equipment]]

Revision as of 22:12, 21 May 2010

needs(code_samples);

Function Syntax

boolean outfit(string name )

  • name is an outfit to wear

This function attempts to put on the outfit specified as name, and returns true if it does so successfully, and false if it does not. It will return false for any reason that you cannot put on the outfit including insufficient stats, not having the items or a server timeout.

CLI Equivalent

The CLI command command "outfit" with works similarly when supplied an outfit name as a parameter.

See Also

have_outfit()