Help with possible complicated macro.

Report issues and ask questions here that need to be answered.
Post Reply
Roodabega72
Posts: 7

Help with possible complicated macro.

Post by Roodabega72 »

Hi guys, im trying to make a macro to switch to my 1h wikcked edge of the planes (dw) one has executioner one has mongoose, and im trying to switch to them from a shield, ive tried a macro looking like the following with no luck so far

/run local function id(s) return string.match(GetInventoryItemLink("player",s) or "","(item:.+:%d+)") end ChatFrame1:AddMessage("MH:"..id(16).."\nOH:"..id(17)) to get the ID thingy ( aswell as another form of ID i got rom an ingame addon)

/equipslot 16 item::28433;3225;0;0;0;0;0;0
/equipslot 17 item::28433;2673;0;0;0;0;0;0;0
as the codes indicated. and it just swaps my weapons in for my mainhand

i've also tried the classic /equipslot with no luck,I want to make it clear that im searching for a macro not an addon!
User avatar
Apuclevercow
Posts: 1349

Re: Help with possible complicated macro.

Post by Apuclevercow »

May you just list what you want in the macro ?
- Switching from a 2H weapon into a 1H and a shield ?
- Just switching between 1H weapons when you wear a shield ?
- Do you wear only 1H weapons and so it's in order to switch what's on your mainhand ?
- etc.
Make it clear and somebody or I will provide you this.
ah
User avatar
Bucovsky
MVP
MVP
Posts: 650

Re: Help with possible complicated macro.

Post by Bucovsky »

/equipslot 17 Wicked Edge of the Planes
/equipslot 17 Merciless Gladiator's Shield Wall

You may as well omit /equipslot 16 because your mainhand is supposed to stay the same anyway. The problem is that with this macro your main hand/off hand axes will replace each other so sometimes you will have mongoose on your main hand weapon, sometimes not.

Why don't you replace one with Rising Tide axe? You may also use Crusader enchantment on both (crusader stacks, you can have 2 buffs at the same time).
Roodabega72
Posts: 7

Re: Help with possible complicated macro.

Post by Roodabega72 »

I'm going from 1h and shield to DW weapons I read somewhere that it is possible but the code is 255 chars,
thanks for the reply

Also working on getting a new weapon, just takes time :)
User avatar
Apuclevercow
Posts: 1349

Re: Help with possible complicated macro.

Post by Apuclevercow »

Ok, so it's quite easy if I understood well what you need :
- You always wear the same Main (right) Hand weapon.
- You want to use a shield or a weapon on the Left Hand but the weapon has got the same name of your Main Hand weapon.

The only way to do this is to use bag slot position instead of the name :

Code: Select all

/equipslot X Y Z
X is the slot on your character info page (Main Hand is 16, Left Hand is 17)
Y is the position of your bag, it ranges from your backpack (0), to the left (last bag is 4)
Z is the position on your bag, it ranges from the left to the right, line by line.
ie : if you put your left hand weapon on the first slot of your first bag (backpack), the macro will be :
/equipslot 17 0 1

With this macro, you can switch between your Left Hand and your shield, the name will not make you wearing the wrong weapon.
ah
Roodabega72
Posts: 7

Re: Help with possible complicated macro.

Post by Roodabega72 »

Thank you so much! got it wokring ^.^.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest