ESODecoded

GetEmoteSlashNameByIndex

ESO Lua API function — used by 32 of the 3,030 addons we indexed (combined 2,820,172 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetEmoteSlashNameByIndex(luaindex emoteIndex)

Returns: string slashName

Real usage — from Wykkyd Outfitter

		for e = 1, GetNumEmotes(), 1 do
			local em = GetEmoteSlashNameByIndex(e)
			if em ~= nil and LWF4.__internal.string_trim(em) ~= "" then tbl[em] = e end

Short excerpt from the shipping addon Wykkyd Outfitterits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Wykkyd Outfitter632,442
Wykkyd Toolbar567,448
Wykkyd Full Immersion223,536
ESOTheater203,242
Wykkyd Mailbox162,721
Wykkyd Auto Repair153,371