Macros:Focus with modifiers
From Dual-Boxing Wiki
(Redirected from Macro:Focus with modifiers)
user:Djarid provided this macro, it is derived from code posted by user:Vyndree
This macro is used to reduce the number of macros required while still allowing full control over selecting which character is focused
/focus [target=Ashanav,nomod]
/focus [target=Ashanaz,mod:shift, mod:ctrl]
/focus [target=Ashanaw,mod:shift]
/focus [target=Ashanax,mod:ctrl]
/focus [target=Ashanay,mod:alt]
/script PromoteToLeader("focus");
The macro is bound to a basic key e.g. '/' Each variation of key combination is bound to a separate extended key e.g. G1 = /, G2 = shift+/, G3 = ctrl+/ etc
The line
/script PromoteToLeader("focus");
is used to automatically promote the focused character to party leader.
Comments
- I have modified this to reflect the macro I currently use, the macro is assigned to the '/' key and each modified version is bound to the G1, G2 & G4-G6 keys. The same key sequence is used for Keyclone's BOOBS functionality to that my focus is the party lead and is the main window... works like a charm Djarid 03:32, 2 June 2008 (PDT)
- I can't test right now, but if you hold ctrl+alt in order to select "[mod:alt,mod:ctrl]Ashanaz", won't the script stop when it reaches "[mod:ctrl]Ashanax"? You could move Ashanaz to the beginning to avoid this (or add some nomod:ctrl and nomod:alt).
- Strangely no, I just tested this last night and despite the apparent illogical behaviour, it works. That said I think it would be better to have the order corrected just to ensure it doesn't break unnecessarily on a future patch Djarid 22:24, 15 April 2008 (PDT)
| ||||||||||||||||||||
