This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Report your saved Dungeons/Raids
Post Reply
Return to board index
Post by
airtonix
local o = ""
local q = GetSavedInstanceInfo
local c = GetNumSavedInstances
if c() > 0 then
for i=1,c() do
n,a,b,h=q(i)
o = o .. (h==2 and '' or '') .. n
if (i < c()) then
o = o .. ", "
end
end
else
o = "None"
end
ChatFrameEditBox:Show()
ChatFrameEditBox:Insert(format("Saved to : %s",o))
Here is the version you can paste into your macro editor ingame:
/run o,q,c="",GetSavedInstanceInfo,GetNumSavedInstances;if c()>0 then for i=1,c() do n,a,b,h=q(i);o=o..(h==2 and '' or '')..n..(i < c() and ", " or "") end else o="None" end;ChatFrameEditBox:Show();ChatFrameEditBox:Insert(format("Saved to: %s",o))
Should open your chatframe edit box and paste in some text that looks like :
Saved to : The Eye of Eternity, Naxxramas, Halls of Lightning, Wintergrasp Raid, Halls of Stone, The Culling of Stratholme, Naxxramas
Post by
Sweetscot
Nice :)
Interesting option for people who don't use InstanceInfo_Fu and Fubar.
I'm looking at slimming down my ui mods and am going to save this in case I decide to try to go fubar free so thanks for posting this :D
Post by
airtonix
I created this while modifying Broker_RaidSaved, so i could shift click on the broker icon to do what this macro does.
I have found that dockingstation and various broker providers are far more efficient than fubar was.
If this kind of thing interests you, you might also find Peek a nice data provider...works off the chatframe by watching for queries.
i liked it so much i pulled this function above into it so people on my friends list can whisper me or type in guildchat with :
!peek saved
and i auto reply with the same kind of output the macro above produces.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.