Get outfits
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
string [int] get_outfits()
This function returns a list of all KoL outfits that the character currently owns and can wear. This list includes " - No Change - ", "Birthday Suit" and "Your Previous Outfit" even though they aren't exactly KoL outfits.
Code Sample
The following code will print the list of all currently equippable KoL outfits.
foreach x, outfit_name in get_outfits()
if( outfit_name != " - No Change - " && outfit_name != "Birthday Suit" && outfit_name != "Your Previous Outfit" )
print( outfit_name );
CLI Equivalent
The CLI command outfit list
will print the same list in the CLI.