The best way to do this is Installing Super Macro, i only found it in a pack of 500 other addon's that was posted by Coffzor somewhere else.
http://www.mediafire.com/download/32kl1 ... addons.rarIf you look in the Functions file from super macro there are allot of macro commands to use that wow took over and allot more that wow banned from use later.
the ones you need are the following
## /equip, /smequip, /eq, /smeq
Equip or use an item. Also works with item links. Alt-click on item to insert item link into macro.
Ex. /eq hatchet
## /equipoff, /smequipoff, /eqoff, /smeqoff
Equip item into off-hand slot. Also works with item links. Alt-click on item to insert item link into macro.
Ex. /eqoff shield
I also wanna state that macro's in vanilla are mutch, mutch more powerfull than at any other state of the game. Its basically full on unlocked lua like was popular with PQR and PE on retail powerfull. the only thing is you have to spam a buttom yourself