From ESOUI Wiki
This function returns the name of one of the player's outfits.
- A number between 1 and GetNumUnlockedOutfits() indicating the outfit slot to equip. If this number is out of bounds, the game will return an empty string; if the number is nil, the game returns the name of Outfit 1; and other values of the wrong type will throw a Lua error.
local index = GetEquippedOutfitIndex() if index then local name = GetOutfitName(index) d("You're wearing " .. name .. ". Stylish!") else d("No outfit? But character customization is fun! Head to a Dye Station and give it a try.") end