Emerald Guard Forum Index
Author Message
<  AddOns, Macros and UI  ~  Macros: UseContainerItem and UseByName
PostPosted: Sun Mar 12, 2006 6:41 pm  Reply with quote

Joined: 20 Sep 2005
Posts: 1146
Location: Shattanooga Shoo Shoo

Sometimes, you want a quick way to use something in your bag, say a bandage, drink, swap a weapon, etc.

Here's a handy macro line to do just that:

/script UseContainerItem(bag#,slot#)

You have to put the item to use in that particular bag space/slot. So (0,1) would be the first available slot in your bag.

Here are examples of it in use:

Target self and use item: <-- (Most commonly used for bandages)

/script UseContainerItem(0,1)
/script SpellTargetUnit('player'):

Buff then Mount: <-- (Great for Battlegrounds)

/target yournamehere
/cast Mark of the Wild(Rank 7)
/script SpellStopCasting()
/script UseContainerItem(0,4)

Change aspect then apply bandage:

/cast Aspect of the Monkey(Rank 6)
/script SpellStopCasting()
/script UseContainerItem(0,1)

You also have the option to use the 'usebyname' command instead of the UseContainerItem command.

For example:

/usebyname Heavy Runecloth Bandage

Cast Tip: With your macro window open, open the spellbook and Shift+click the spell you want to add the cast command directly into the macro.

And that concludes today's lesson on macros. Class dismissed!

Kalielar Timberlake
(\\\\"\(.:..:.)/\\\\") Kaboomkin!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
All times are GMT - 2 Hours

View next topic
View previous topic
Page 1 of 1
Emerald Guard Forum Index  ~  AddOns, Macros and UI

Post new topic   Reply to topic

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB and NoseBleed v1.09