User:Kunzite1/Useful macros/General

From Warcraft Wiki
Jump to navigation Jump to search

AddOns

Total number of installed Addons

/run local num = GetNumAddOns(); DEFAULT_CHAT_FRAME:AddMessage("You are currently running " .. num .. " addons you nutjob!")

Combat

Auto-Attack before ability/spell.

#showtooltip
/startattack
/use Stormstrike

Trinket before ability/spell

#showtooltip Stormstrike
/use 13
/use Stormstrike

Daily quests

Isle of Quel'Danas

/use item:34248
/use item:34253
/use item:34255
/use item:34257
/use item:34338
/use item:34368
/use item:34414
/use item:34420
/use item:34475
/use item:34483
/use item:34489
/use item:34500
/use item:34533
/use item:35233

Argent Tournament

/use item:44986
/use item:45000
/use item:45005
/use item:45080
/use item:45083
/use item:46885
/use item:46954
/use item:47029
/use item:47033
/use item:47036

Molten Front

/use item:68997
/use item:69212
/use item:69225
/use item:69232
/use item:69234
/use item:69235
/use item:69240
/use item:69759
/use item:69806

Dungeon Finder

If not in dungeon, teleport in If in dungeon, teleport out

/run LFGTeleport(IsInLFGDungeon())

Gear

Trinket

Trinket One

#showtooltip 13
/use 13

Trinket Two

#showtooltip 14
/use 14

Map

Coordinates

Character is in [Zone] @ 0,0

/script px,py=GetPlayerMapPosition("player");z=GetZoneText();
/script DEFAULT_CHAT_FRAME:AddMessage(format("%s is in [%s] @ %i,%i",UnitName("player"),z,px*100,py*100))

[Zone - Subzone] 0,0

/script x,y=GetPlayerMapPosition("player");z=GetZoneText();s=GetSubZoneText();if(s~="")then z=z.." - "..s end
/script d=4;p=10^d;x=floor(x*p+0.5)/p;y=floor(y*p+0.5)/p;DEFAULT_CHAT_FRAME:AddMessage(format("[%s] %s,%s",z,x*100,y*100))

Pets

Companions

/run CallCompanion("CRITTER",random(GetNumCompanions("CRITTER")))

Mounts

/run CallCompanion("MOUNT",random(GetNumCompanions("MOUNT")))
/use [combat] Ghost Wolf
/userandom [nocombat,noflying] Purple Skeletal Warhorse, Swift Brewfest Ram

Professions

Archaeology

Show/Hide Info

#showtooltip Survey
/minarch show
/archy digsites
/stopmacro [nogroup]
/minarch hide

List Finished Projects

#showtooltip Archaeology
/run local g,a,n,c,r=GetArtifactInfoByRace for x=1,9 do r,a,n,c=0,0,GetArchaeologyRaceInfo(x),GetNumArtifactsByRace(x)for y=1,c do a=a+select(9,g(x,y))r=r+select(3,g(x,y))end c=c-r print(n..' (Rare:'..r..' Grey:'..c..' Solved:'..a..')')end

Crafting

#showtooltip Ruined Leather Scraps
/run CloseTradeSkill()
/cast Leatherworking
/run r="Light Leather";
/run for i=1,GetNumTradeSkills() do if GetTradeSkillInfo(i)==r then CloseTradeSkill() DoTradeSkill(i) break end end

Fishing

#showtooltip [equipped:Fishing Pole] Fishing; Stormstrike
/use [equipped:Fishing Pole] Fishing
/stopmacro [equipped:Fishing Pole]
/startattack
/use Stormstrike

Targetting

Focus

Set target as focus

If no target, clears focus

/clearfocus
/focus

Assist Focus

/assist focus

MTarget

Set macro in standard macro area:

/assist $mtank

Click Template button.

Set macro in standard macro area:

/mtarget set mtank

Bind first macro to G, second macro to ALT+G. When you enter dungeon, target tank and press ALT+G. Press G to assist tank.

Travel

Ghetto Dungeon Graveyard Port

/run PromoteToLeader("party1"); LeaveParty();