From KoLMafia
Jump to: navigation, search

Function Syntax

boolean empty_closet()

Remove every item from the closet in a single server hit. Returns true if the move succeeds and false if it does not.

Useful example for use in a kingLiberatedScript

Empty closet and Hangks together at the end of a run

if(get_property("lastEmptiedStorage").to_int() != my_ascensions()) {

CLI Equivalent

The CLI command "closet" with the parameter "empty" works similarly.

See Also