This site makes extensive use of JavaScript.
Please
enable JavaScript
in your browser.
Classic Theme
Thottbot Theme
Help with Script for Mechanical Chicken Please
Post Reply
Return to board index
Post by
Thanatoid
it use to work in 2 parts first was
/run f,z=CreateFrame('frame'),{='The Hinterlands',='Tanaris',='Feralas'};f:RegisterEvent('QUEST_QUERY_COMPLETE')
Hit Enter then run
/run local s,t;f:SetScript('OnEvent',function() t=GetQuestsCompleted();for c,v in pairs(z) do if t then s='' else s=' not' end print('You have'..s,'found OOX in',v) end end);QueryQuestsCompleted()
it would produce something like in your chat
You have not found OOX in The Hinterlands
You have not found OOX in Tanaris
You have found OOX in Feralas
now all i receive is
4x <string>:"local s,t;f:SetScript("OnEvent",function() ...":1: attempt to call global "QueryQuestsCompleted" (a nil value)
<string>:"local s,t;f:SetScript("OnEvent",function() ChatFrame.lua:2131: in function "?"
FrameXML\ChatFrame.lua:4358: in function <FrameXML\ChatFrame.lua:4304>
<in C code>
FrameXML\ChatFrame.lua:4052: in function "ChatEdit_SendText"
FrameXML\ChatFrame.lua:4091: in function "ChatEdit_OnEnterPressed"
then s='' else s=' not' end print('You have'..s,'found OOX in',v) end end);QueryQuestsCompleted()"
(*temporary) = <func> =:-1
If you can help me get this to work again I would appreciate it very much.
Post by
Ketho
QueryQuestsCompleted is
deprecated
, and is no longer required for GetQuestsCompleted
There also is
IsQuestFlaggedCompleted
now for information on individual quests
http://www.wowinterface.com/forums/showthread.php?t=43719
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.