GetChatterOption
ESO Lua API function — used by 41 of the 3,030 addons we indexed (combined 17,629,977 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetChatterOption(luaindex optionIndex)Returns: string optionString, integer optionType, integer optionalArgument, bool isImportant, bool chosenBefore, integer teleportNPC, dialogueTone
Real usage — from Dolgubon's Lazy Writ Crafter
for i= 1, GetChatterOptionCount() do
local _, optiontype = GetChatterOption(i)
if optiontype == CHATTER_START_BANK thenShort excerpt from the shipping addon Dolgubon's Lazy Writ Crafter — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| Dolgubon's Lazy Writ Crafter | 9,498,314 |
| AwesomeGuildStore | 4,722,462 |
| WritWorthy | 2,484,332 |
| LibCraftText | 167,985 |
| Pet Dismiss | 118,757 |
| JP Patch for Dolgubon's Lazy Writ Crafter | 104,292 |