/equip main "Weathered Gladius" (Would equip a sword in the main hand) /equip sub "Square Maple Shield" (Would equip a shield in off hand) /equip body "Canvas Robe" (Would equip to the body armor slot)
Actions work this way /equipaction 2 "Fire" (Would equip the spell fire to the 2nd action slot) /equipaction 3 "Blizzard" (Would equip the spell blizzard to the 3rd action slot)
For actions it's a sequential number 1 - 30 1 being the 1st slot always taken by your default ability 10 being slot 0 on your action bar, 11 would be the 1st slot position on your second action bar, and 21 would be the 1st slot on your 3rd action bar. Visual representation is like this 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
To equip actions learned traits it works the same way. For Botanist or Miner that get Lucky Strike, or other special traits you would still use /equip action 1 "Lucky Strike" the game will knowthat Lucky Strike needs to go to your gathering and synthesis bar and not your action bar.
Oh and don't copy and paste a macro command from a forum into your game console, I know a few friends who did it this way, and could not get there macro to work. Also to fire your macro you must hit CTRL/ALT + # it's not CTRL/ALT + Enter Key