Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bow, crossbow, guns macro
#1
One button macro for all ranged weapons, except "Throwing". It is not show GCD and availability of ammunition.

Code:
/script local _,_,i=strfind(GetInventoryItemLink("player",18),"\124Hitem:(%d+)");local _,_,_,_,_,e=GetItemInfo(i);local t={};t.Bows="Bow";t.Guns="Gun";t.Crossbows="Crossbow";CastSpellByName((string.gsub(t[e],"^([^T])","Shoot %1")))
Reply
#2
or you can just:

/run CastSpellByName("Shoot Bow") CastSpellByName("Shoot Crossbow") CastSpellByName("Thrown weap..")

It will use whatever it can, which is what you have equipped at the moment.
Reply
#3
(01-14-2019, 06:01 PM)mentos987 Wrote: or you can just:

/run CastSpellByName("Shoot Bow") CastSpellByName("Shoot Crossbow") CastSpellByName("Thrown weap..")

It will use whatever it can, which is what you have equipped at the moment.

And get annoying system messages every time you use...
Reply
#4
Hey Durz, just making clear it's not me. =D
Reply
#5
(01-14-2019, 08:48 PM)Archaeus Wrote: Hey Durz, just making clear it's not me. =D

Who is Durz?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)