- 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.
The following code will attempt to wear the Knob Goblin Harem Girl Disguise.
if ( have_outfit( "Knob Goblin Harem Girl Disguise" ) ) outfit( "Knob Goblin Harem Girl Disguise" ); else print( "You don't have the Knob Goblin Harem Girl Disguise." );
The CLI command command "outfit" with works similarly when supplied an outfit name as a parameter.