Droidz 2738 Posted October 22, 2014 Share Posted October 22, 2014 Hello, You can share here useful lua scripts Link to comment https://wrobot.eu/forums/topic/1689-useful-scripts/ Share on other sites More sharing options...
Droidz 2738 Posted October 22, 2014 Author Share Posted October 22, 2014 Get wow bouton/window name: /run print(GetMouseFocus():GetName()) or /run DEFAULT_CHAT_FRAME:AddMessage(GetMouseFocus():GetName()) Copy this script in wow chat, put your mouse over an button and press enter key. In wow chat appear button name (you can use this like "/click TheButtonName" or "TheButtonName:Click()" or "RunMacroText("/click TheButtonName")" if you use it in fightclass). You can also use macro: /framestack More info: http://wow.gamepedia.com/Framestack Pudge and da8ball 2 Link to comment https://wrobot.eu/forums/topic/1689-useful-scripts/#findComment-8447 Share on other sites More sharing options...
Droidz 2738 Posted October 22, 2014 Author Share Posted October 22, 2014 Get base (parent) spell name and the id: Launch this script (in tab "Tools" > "Development Tools" > copy script in textbox and click on button "Lua (return value in 'ret')). for i=1,1000 do local spellName = GetSpellBookItemName(i, BOOKTYPE_SPELL); if not spellName then break; end local _, tid = GetSpellBookItemInfo(i, "player"); local spellNameReal = GetSpellInfo(tid); if spellNameReal and spellName ~= spellNameReal then print(spellName .. " > " .. "\124cFF4FF763" .. spellNameReal .. " (id: " .. tid .. ")"); else print(spellName .. " (id: " .. tid .. ")"); end end This write in wow chat list of spells of your spellbook and if exist (in green) the parent spell name. (By sample, http://www.wowhead.com/spell=12294/mortal-strike is the parent of http://www.wowhead.com/spell=78/heroic-strike ) ps: Now normally WRobot found automatically the childrens/parents spells. Ohren 1 Link to comment https://wrobot.eu/forums/topic/1689-useful-scripts/#findComment-8448 Share on other sites More sharing options...
Droidz 2738 Posted December 1, 2014 Author Share Posted December 1, 2014 Dump buff/aura of your character: Entrer this script in wow chat, this return name and id of spells: /run for i=1,40 do local name, _, _, _, _, _, _, _, _, _, spellId=UnitBuff("player",i); if name then local nameReal = GetSpellInfo(spellId) print(spellId.."="..name.."="..nameReal) end end Link to comment https://wrobot.eu/forums/topic/1689-useful-scripts/#findComment-8832 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now