I am trying to create a macro which instead of doing a /castsequence using spell and items, instead it would actually be able to do a faux /clicksequence insteadand activate action bar items in a seqeunce of my choosing.
So for example below are the commands that you can use in a macro to press any of the visible action bar (you turn these bar on and off via the interface panel in WOW) buttons via the /click command...
Bar 1: /click ActionButton# (Main)
Bar 3: /click MultiBarRightButton# (Side Bar Right)
Bar 4: /click MultiBarLeftButton# (Side Bar Left)
Bar 5: /click MultiBarBottomRightButton# (Bottom Right)
Bar 6: /click MultiBarBottomLeftButton# (Bottom Left)
So right now if I wanted to do with my Shammy a Chain Lightning/Lightning rotation I would use a castsequence like
/castsequence [target] reset 6; Chain Lightning, Lightning Bolt, Lightning Bolt, Lightning Bolt (or something like that)
But if I placed those spells on say on the Multibar to the far right that runs up the left side of the main wow window in the same order as the above /castsequence (ie on the extreme right action bar in the top slot you would have a Chain Lighting Spell on the bar, followed by 3 copies of Lightning bolt in the spots under the Chain lightning. I could achieve the same effect by manually clicking.
MultiBarRightButton1, then MultiBarRightButton2, MultiBarRightButton3, MultiBarRightButton4 and then going back to MultiBarRightButton1 and start the rotation all over again. However since those same button clicks can be called via macro's, my idea was to create as I said a fuax /clicksequence using macro's and lua scripting.
The setup on this may seem strange but the idea is that rather then re-writing the macro as I level and depending on situtuation, all it would take to change spells in and out would be to change the spells that are placed on say the right action bar. Also this even allows me to use the same macro for different classes and toons because all that is required is setting up the appropiate actionbar slots with the spells you want to cast, in the sequence you want to cast them in. The targeting and spell selection would actually be handle via a series of macro's.
So the final idea would be a /clicksequence macro that would do the following
1st activation of the macro would be
/click MultiBarRightButton1
2nd activation
/click MultiBarRightButton2
3rd...
/click MultiBarRightButton3
4th
/click MultiBarRightButton4
5th
/click MultiBarRightButton5
6th ... this would be the reset back to 1
/click MultiBarRightButton1
With the numbered lua variable deciding exactly which action bar button to click.
Now it may be a little complicated up front but the idea with this is that I have 4 or 5 set click sequence macro's that are shared among all accounts I play. But rather then writing specific spell casting macros instead all I would be doing is configuring action bars and letting the clicksequence decide which one its suppose to be casting when the button is pressed. Now I know that there are something that would work better with a castsequence, but some thing would work a lot better, since this way since it doesn't rely on success or failure of the cast and would always move onto the next spell in sequence.
I hope that explains it better.
Connect With Us