View Full Version : Macros Question
Nilvaryn
12-10-2003, 04:04 PM
Anyone give me a hand creating a Macro to equip/unequip an item....Such as headgear or fishing rod. I keep getting an error. Thanks for all your help.
Nyanya
12-11-2003, 02:09 AM
Nyanya can try to help. I made some nice macros to switch current weapons/shields for when a weapon skill is maxed. Very useful. http://www.catgirlsparadise.com/smilies/biggrin.gif
But I'm doing all this from memory, so might not be completely accurate. Particularly the names of the slots to equip to I might get wrong.
Ok, the basic form of the equip command is as follows:
/equip <slot> <item>For instance, if you want to create a macro for equipping your Windshear Hat it would be as follows:
/equip head "Windshear Hat"And when you want to create a macro for equipping your Iron Sword and Elm Shield it would look something like this:
/equip main "Iron Sword"
/equip sub "Elm Shield"Note that the name of the item has to be exact, including capitalization (usually this is just the first character of each word capitalized).
You can also unequip something by leaving the name empty:
/equip bodyWill unequip whatever you have in your body slot.
And if you have more lines in your macro equipping to the same slot then it'll equip the first item you have in your inventory that isn't already equipped. For instance:
/equip main "Iron Sword"
/equip main "Battleaxe"can be used to switch between your sword and your axe with one simple macro. http://www.catgirlsparadise.com/smilies/biggrin.gif
For more try typing the following:
/? equipThis will give you a description of the /equip command as well as the exact names of all the slots.
<smiles, hoping she got it all right, scratching behind her ear with her hand>
Wow, that's one hell of an informative reply! :)
*gives Nyanya a cookie*
Nilvaryn
12-11-2003, 05:03 AM
I agree... <gives another cookie> I'll have to give those a try, thanks.....
Negorath
12-11-2003, 06:28 AM
You have to note you have to Unequip the slot you wan't to equip a new equipment in, otherwise the macro will just cancel.
So if you wanetd to equip, let's say a Greataxe, and you where currently wielding a One-handed weapon and Shield, you would have to make a macro like this:
/equip Main
/equip Sub
/equip Main "Greataxe"
The reason would be because a Greataxe occupies both the Main-weapon and sub-weapon slot, so you have to empty them both first.
Negorath
Nyanya
12-12-2003, 01:22 AM
Originally posted by Negorath
You have to note you have to Unequip the slot you wan't to equip a new equipment in, otherwise the macro will just cancel.Actually this isn't true. I know because I'm not doing this either and my macros work fine. In fact I tested specifically if you needed to do this before making my final macros.
Which is probably a good thing seeing as we only have six lines to work with as it is. http://www.catgirlsparadise.com/smilies/wink.gif
<munches away at her cookies with a big grin> http://www.catgirlsparadise.com/smilies/biggrin.gif
Negorath
12-12-2003, 03:06 AM
I've also tested this, and this is how it's done.
However, if you got one macro who equips a "Bronze Hat", activating that specific macro once again while wearing it will empty the slot, and then you are free to equip other items with another macro. Anyways... Just a mather of prefference, but doing it like this allows me to directly change equipment.
On the other hand, I have only tested this on weapons/shields, switching from one-hand to two-handed, so I'll try making some armor macros and see if I have to empty them first then aswel, as up till now I have just assumed it was like that for every bit of equipment. :)
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.