no edit summary
No edit summary |
No edit summary |
||
| Line 35: | Line 35: | ||
:2. replace the number 61 in the script with the number of that slot. The slots are numbered 1-12 for the 1st skill bar, 13-24 for the 2nd bar, and so on (25-36, 37-48, 49-60, 61-72). | :2. replace the number 61 in the script with the number of that slot. The slots are numbered 1-12 for the 1st skill bar, 13-24 for the 2nd bar, and so on (25-36, 37-48, 49-60, 61-72). | ||
:3. assign the macro to a button on a skill bar (e.g. button #1 on the 1st skill bar) | :3. assign the macro to a button on a skill bar (e.g. button #1 on the 1st skill bar) | ||
Slightly longer, but more complete method to just find attack anywhere on your bar. | |||
/script if not ma then for i = 1,72 do if IsAttackAction(i) then ma = i; end; end; end; if ma then if not IsCurrentAction(ma) then UseAction(ma); end; else AttackTarget("target");end; | |||