Friday 27 September 2013

Monday 23 September 2013

Wednesday 18 September 2013

World of Warcraft - Macro - Random Mount

This macro will random a mount from all of your available mounts.
Flying mounts for areas that allow flying or ground mounts where you cannot fly.

/dismount
/run if not IsMounted() then local m,t,f="mount",{{},{}} for i=2,GetNumCompanions(m) do tinsert(t[bit.band(2,select(6,GetCompanionInfo(m,i)))==0 and 1 or 2],i) end f=IsFlyableArea() and 2 or 1 CallCompanion(m,t[f][random(#t[f])]) else Dismount() end

Sometimes you may get a "cant use that mount" if you have a class specific, faction specific or zone specific mount, but just hit it again and you will get the next random.

Friday 13 September 2013

World of Warcraft - Macro - Target Announce

This macro will place a skull raid mark on your target and announce your co-ordinates and the health of the target to the general channel.

/stopmacro [dead][noexists]
/run SetRaidTarget("target",0)
/1 {triangle} %t is up {triangle}
/run SetMapToCurrentZone()local x,y=GetPlayerMapPosition("player")s=(format("{triangle}  %.0f,%.0f {triangle} ",x*100,y*100)..((math.floor((UnitHealth("target")/UnitHealthMax("target"))* 100)).." % {triangle}"))SendChatMessage(s,"CHANNEL",nil,1)
/run SetRaidTarget("target",8)

The macro will not announce if you have no target or your target is dead.

If you want to announce to a different channel change the number 1 on line 3 & 6.

You can change the raid target mark from skull to another by changing 8 on line 7.

You can also change the raid icon in chat by replacing triangle on lines 3,4,5 & 6.

World of Warcraft - Macro - Add Rares to NPCscan - Timeless Isle


This macro will add all the Timeless Isle rares' to NPCscan.

You will have to split the following macro up into smaller chunks unless you have a macro addon that will extend your macro limit beyond the 255 WoW limit.


/npcscan add 73158 Gander
/npcscan add 73160 Steelhorn
/npcscan add 73161 Furyshell
/npcscan add 72909 Gu'chi
/npcscan add 72245 Zesqua
/npcscan add 71919 Zhu-Gon
/npcscan add 72193 Karkanos
/npcscan add 72045 Chelon
/npcscan add 71864 Spelurk
/npcscan add 73854 Cranegnasher
/npcscan add 72048 Rattleskew
/npcscan add 72769 Jadefire
/npcscan add 73277 Leafmender
/npcscan add 72775 Bufo
/npcscan add 73282 Garnia
/npcscan add 72808 Tsavo'ka
/npcscan add 73166 Spineclaw
/npcscan add 73163 Python
/npcscan add 73157 Rock Moss
/npcscan add 73170 Osu
/npcscan add 73169 Jakur
/npcscan add 73171 Champion
/npcscan add 73175 Cinderfall
/npcscan add 73173 Urdur
/npcscan add 73172 Flintlord
/npcscan add 73167 Huolon
/npcscan add 72970 Golgannar
/npcscan add 73279 Evermaw
/npcscan add 73281 Vazuvius
/npcscan add 73174 Archiereus
/npcscan add 72032 Zvezdan

World of Warcraft - Macro - Add Rares to NPCscan - Isle of Thunder

This macro will add all the Isle of Thunder rares' to NPCscan.

You will have to split the following macro up into smaller chunks unless you have a macro addon that will extend your macro limit beyond the 255 WoW limit.

/npcscan add 50358 Haywire Sunreaver Construct 
/npcscan add 69664 Mumta
/npcscan add 69996 Ku'lai the Skyclaw
/npcscan add 69998 Goda
/npcscan add 69997 Progenitus
/npcscan add 70000 Al'tabim the All-Seeing
/npcscan add 69999 God-Hulk Ramuk
/npcscan add 70001 Backbreaker Uru
/npcscan add 70002 Lu-Ban
/npcscan add 70003 Molthor
/npcscan add 70530 Ra'sha