Do you mean something like this?
Code:
/script print(GetIgnoreName(GetSelectedIgnore()));
If you are able to copy text out of the chatbox, you can use this script. Just select a player on your ignorelist and use this script.
EDIT:
i wrote a very short addon:
1. Select ignored player
2. Type "/igname get" or "/ign get"
3. Select the name in the EditBox and copy it with Ctrl + C
main.lua
Lua Code:
SLASH_IGNAME1, SLASH_IGNAME2 = '/igname', '/ign';
local function handler(msg, editbox)
if msg == 'get' then
StaticPopup_Show("IGNORE_NAME")
end
end
SlashCmdList["IGNAME"] = handler;
StaticPopupDialogs["IGNORE_NAME"] = {
text = "",
button1 = "Close",
OnShow = function (self, data)
self.editBox:SetText(GetIgnoreName(GetSelectedIgnore()))
end,
timeout = 0,
whileDead = true,
hideOnEscape = true,
preferredIndex = 3,
hasEditBox = true
}
GetIGName.toc
Code:
## Interface: 70200
## Title: GetIGName
## Notes: Puts the name of selected ignored player in an editbox.
## Author: Xardir-Blackmoore
## Version: v0.1
main.lua