mega wrote:- is it better to define a macro with a "/castsequence" of spells or
- define one "/cast" spell macro for each spell I would like to use and then combine them in the "Action" of the mapped key?
This is entirely dependent on the spells/abilities (and classes) you're trying to use, and there is no clear-cut answer.
I usually use castsequences on casters since spamming a bunch of keys just ends up spamming the same spell over and over, but on melee I'll usually spam a handful of keys at a time. However, you also have to take into account the abilities that melee classes use which auto-acquire a target. A Warrior's Charge ability will do this, so if you're trying to spam Charge as part of your Warrior rotation you can easily pick up a target from the other side of the room and charge over to it accidentally, rather than just pick up a target that is still part of the pack you're currently beating on. In order to counter this you need to create macros for those single abilities and add /stopmacro [@target,noexists] (or something like that) to the start of them.
mega wrote:- if the second option is the preferred one then have I got to define a different key combination for each macro? Isn't that a limitation on the nr of macros I can effectively use considering that many keys and key combinations are already reserved by default?
On a standard 104-key keyboard, you can assign approximately 700 key combinations:
104 keys without modifiers
104 keys + Alt
104 keys + Ctrl
104 keys + Ctrl + Alt
104 keys + Shift
104 keys + Shift + Ctrl
104 keys + Shift + Alt
104 keys + Shift + Alt + Ctrl
I say approximately because I'm obviously counting six modifiers keys, capslock, tab, escape, and other keys that don't work nicely with modifiers (like certain keys on the number pad) in that 104 total, but it's still probably 600-700 key combinations altogether after we adjust for that, and that doesn't even include right modifiers since, in World of Warcraft, you can actually use right modifier keys within macros.
Regardless, you should be breaking your macros into different class sets, and then only assigning those characters who are that class to those specific macro sets (e.g. you wouldn't assign Shaman spells to a Warrior, or vice versa).