I wanted to know the same thing and I found:
GetQuestItemInfo
GetQuestLogItemLink
GetQuestItemLink
This script works:
Code:
local i=0;
local scantype = "reward";
while (GetQuestLogTitle(i+1) ~= nil) do
i = i + 1;
SelectQuestLogEntry(i);
local questTitle, level, tag, suggestedGroup, header, collapsed, complete = GetQuestLogTitle(i);
if (not header) then
local k = 1;
while(GetQuestLogItemLink(scantype, k) ~= nil) do
local link = GetQuestLogItemLink(scantype, k);
if(link) then
DEFAULT_CHAT_FRAME:AddMessage(link, 1.0, 1.0, 1.0);
end
k = k + 1
end
end
end
but I want to scan
Code:
scantype = "required";
Then there's no result...
Can anybody find my mistake??? Or are these functions wrong???