World of Warcraft scripts
Buy cheap World of Warcraft products A script is a small program written in a scripting language.World of Warcraft has the Lua scripting language embedded, allowing you to run short commands directly in chat or inside a macro
using /run or /script (up to the 255-character limit), or build your own addon.
Useful WoW scripts
Check Your Coordinates (Open World Only)
/run local z=C_Map.GetBestMapForUnit("player") local p=C_Map.GetPlayerMapPosition(z,"player") if p then print(C_Map.GetMapInfo(z).name, math.ceil(p.x*10000)/100, math.ceil(p.y*10000)/100) endRun the script to print your current zone and X/Y coordinates in chat.
(Note: Blizzard restricts coordinates inside dungeons, raids, delves, and battlegrounds).
Have I completed a quest?
/run print(C_QuestLog.IsQuestFlaggedCompleted(1135))Or:
/script print(C_QuestLog.IsQuestFlaggedCompleted(Quest ID number))Look up quest on Wowhead , the quest ID will be in the url (eg. 1135)
Replace 1135 with the Quest ID to check if it's completed (true/false).
How many t8 delves have I done (The War Within)
/run local a,b,c=C_WeeklyRewards.GetActivities(6)for d=3,1,-1 do if a[d]and a[d].level>=8 then b=a[d].progress;break end end;c=b and(b<4 and'FF9300'or b<8 and'0096FF'or'00F900')or'FF2600'print('T8+ delves: \124cFF'..c..(b or '<2')..' of 8\124r completed')Run the script to check the number of above tier 8 delves you've done :The War Within (Season 1) .
Have I used a Delver's Bountiful Map (The War Within)
/run print(C_QuestLog.IsQuestFlaggedCompleted(86371))Run the script:
Output false --> you haven't used the map yet.
Output true --> You've already used the map.
Retail UI Script to sell all grey items in your bags
/run c=C_Container for b=0,4,1 do for s=1,c.GetContainerNumSlots(b),1
do local n=c.GetContainerItemLink(b,s) if n and string.find(n,"ff9d9d9d")
then DEFAULT_CHAT_FRAME:AddMessage("- Selling "..n) c.UseContainerItem(b,s) end end endRun the script with a vendor window open and it will sell all your grey items.
Remove gryphons from UI
/script MainMenuBarArtFrame.LeftEndCap:Hide()
MainMenuBarArtFrame.RightEndCap:Hide()Run the script to hide the gryphons (Classic Only).
/script MainMenuBarArtFrame.LeftEndCap:Show()
MainMenuBarArtFrame.RightEndCap:Show()page number and background frame :
/script MainMenuBarArtFrame.LeftEndCap:Hide()
MainMenuBarArtFrame.RightEndCap:Hide()
MainMenuBarArtFrameBackground:Hide()
MainMenuBarArtFrame.PageNumber:Hide()
ActionBarUpButton:Hide()
ActionBarDownButton:Hide()
Put enemy arena team numbers on nameplates
/script local U=UnitIsUnit hooksecurefunc("CompactUnitFrame_UpdateName",function(F)if IsActiveBattlefieldArena()and F.unit:find("nameplate") then for i=1,5 do if U(F.unit,"arena"..i)then F.name:SetText(i)F.name:SetTextColor(1,1,0)break end end end end)WoW Classic stopwatch
/run Stopwatch_StartCountdown(0, 0, 30); Stopwatch_Play()Run the script and get a 30 sec stopwatch.
Automatically sell all grey items in your bags (Classic)
/script for bag = 0,4,1 do for slot = 1,
GetContainerNumSlots(bag), 1 do local name =
GetContainerItemLink(bag,slot);
if name and string.find(name,"ff9d9d9d")
then DEFAULT_CHAT_FRAME:AddMessage("Selling "..name);
UseContainerItem(bag,slot) end; end; endClick the macro with a vendor window open and it will sell all your grey items.
Bigger target buff and debuff icons (Retail)
/run hooksecurefunc("TargetFrame_UpdateBuffAnchor", function(_, b) b:SetSize(24, 24) end) hooksecurefunc("TargetFrame_UpdateDebuffAnchor", function(_, d) d:SetSize(24, 24) end)Bigger target buff and debuff icons (Classic)
/run hooksecurefunc("TargetFrame_UpdateBuffAnchor", function(_, name, i)_G[name..i]:SetSize(24, 24)end)hooksecurefunc("TargetFrame_UpdateDebuffAnchor", function(_, name, i)_G[name..i]:SetSize(24, 24) end)Target marker script
/script SetRaidTarget("target",8);Sets a skull above your current target.
Increase maximum camera distance (Retail)
/console cameraDistanceMaxZoomFactor 2.5Arena frames outside Arena (Classic only)
/script C_AddOns.LoadAddOn("Blizzard_ArenaUI") ArenaEnemyFrames:Show()
ArenaEnemyFrame1:Show() ArenaEnemyFrame2:Show()
ArenaEnemyFrame3:Show() ArenaEnemyFrame1CastingBar:Show()
ArenaEnemyFrame2CastingBar:Show() ArenaEnemyFrame3CastingBar:Show()Shows the Arena frames and castbars outside the Arena.