From d455313e4bffaec1949e71296e568343ee7e15fd Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Tue, 31 May 2011 19:07:56 +0200 Subject: [PATCH] Auto-skip gossip aswell --- Monomyth.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Monomyth.lua b/Monomyth.lua index 2b24411..c81a439 100644 --- a/Monomyth.lua +++ b/Monomyth.lua @@ -52,6 +52,13 @@ addon:Register('GOSSIP_SHOW', function() SelectGossipAvailableQuest(index) end end + + if(available == 0 and active == 0 and GetNumGossipOptions() == 1) then + local _, type = GetGossipOptions() + if(type == 'gossip') then + return SelectGossipOption(1) + end + end end) QuestFrame:UnregisterEvent('QUEST_DETAIL') -- 1.7.9.5