
Here is the addon in a zip file for ya

[CURRENT v1.L85a20n21k14] http://puu.sh/nlC5o/c1c8f04a36.zip
[Change log] (1.L85a20n21k14)
[change log #1] Changed line #20 chat channel to "CHANNEL" instead of "PARTY". This will allow the .qc debug chat command to check a quest even if the player isn't in a party or the player is dead or without a guild.
[Credit to the people for the people]
Thank you Hansrutger and Fastor for [change log #1]
Here is the code
main.lua [CURRENT 1.L85a20n21k14]
Code: Select all
local Buddy_Caller = CreateFrame("Frame")
Buddy_Caller:RegisterEvent("QUEST_ACCEPTED")
Buddy_Caller:SetScript("OnEvent",
function(self, event, ...)
local arg1 = ...
local title, level, tag, header = GetQuestLogTitle(arg1);
local buddylink=GetQuestLink(arg1);
if(GetNumPartyMembers() > 0) then
SelectQuestLogEntry(arg1);
if(GetQuestLogPushable()) then
QuestLogPushQuest();
SendChatMessage(string.format("[BuddyCheck]: Quest %s[%i] shared",buddylink,level),"PARTY");
else
SendChatMessage(string.format("[BuddyCheck]: Quest %s[%i] UNSHAREABLE",buddylink,level),"PARTY");
end
end
SendChatMessage(string.format(".qc %s",buddylink),"CHANNEL",nil,1)
end
)
Code: Select all
## Interface: 50001
## Title: Buddy Checker
## Author: The DT
## Version: 1.L85a20n21k14
## Notes: Allows for automated quest sharing and auto debugging of quests on the truewow.org server.
main.lua