Thread Tools Display Modes
Prev Previous Post   Next Post Next
03-27-24, 09:59 PM   #1
Hubb777
A Flamescale Wyrmkin
 
Hubb777's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2024
Posts: 113
Skip "phrase" from NPC

Hi all. I plan to make it possible to skip some dialogue when talking to NPCs. But there is an error in the code. Please tell me the solution.

Lua Code:
  1. local addonName = ...
  2. local AutoSelectGossip = {
  3.     [48598] = true,
  4.     [109275] = true,
  5. };
  6.  
  7. local function IsAutoSelectOption(gossipOptionID)
  8.     return gossipOptionID and AutoSelectGossip[gossipOptionID] == true
  9. end
  10. addon.IsAutoSelectOption = IsAutoSelectOption;
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Skip "phrase" from NPC


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off