Empty closet
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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()) {
empty_closet();
visit_url("storage.php?action=pullall&pwd");
}
CLI Equivalent
The CLI command "closet" with the parameter "empty" works similarly.