Hi,

I am working on Jamba - 0.2 and Zub requested a feature where Jamba could set focus to the current master. This is fine and I'll implement it the best I can by programatically updating a /focus macro and then requiring the user to press a key. (Wow API FocusUnit is protected and I cannot use it).

I personally don't use focus for my master, I use targettarget in my macros ( no focus manifesto ); so I wanted to set up a system where I could manage focus simply.

My idea is below; could you critique it for me? (I'm developing it anyway; but its great to get ideas / potential problem feedback early.)

New: Jamba-Me
  • A list of nicknames that this character responds to when receiving jamba slash commands.
  • Jamba slash commands have an optional parameter <pushnickname>. If <pushnickname> is set only characters that have that nickname will run the command. If <pushnickname> is not set, Jamba only runs the command on the character that the script was run on.
  • Essentially every time certain Jamba slash commands are received and <pushnickname> is not blank, the command is sent to all enabled Jamba members and they look at the <pushnickname> parameter and decide whether or not to execute the command.
  • Example nickname set based on my 5 box group:
    • Yaswar (warrior): all, main
    • Yasmage (mage): all, slave, sheep
    • Yasprie (priest): all, slave, shackle, mainheal
    • Yasham (shaman): all, slave, hex1*, backupheal1
    • Yashan (shaman): all, slave, hex2*, backupheal2
  • So if I wanted my tank to be the focus on all my slaves, I use the slash command (one just one of my characters, my main say):
    • /jamba setfocus Yaswar slave (and then I press the jamba set focus key on my keyboard)
    • /jamba setfocus party1 slave (and then I press the jamba set focus key on my keyboard)
  • Or, if I use the targettarget macro system (and focus is for sheeping) and I want to assign a target to sheep, I use:
    • /jamba setfocus targettarget sheep (and then I press the jamba set focus key on my keyboard)
  • To get everyone to dance (from the main)..
    • /jamba dance all (when I implement the dance command)
  • I have focus on my priest set to my mage (aggro magnet) so I can easily heal her.
    • /jamba setfocus Yasmage mainheal (and then I press the jamba set focus key on my keyboard)
Jamba
  • Focus management - new slash commands:
    • /jamba setfocusmaster <pushnickname>
    • /jamba setfocus <unittarget> <pushnickname> (where unittarget is party1, party2, target, targettarget, player, focustarget, etc)
    • /jamba clearfocus <pushnickname>

Once this system is in place; it should be easy to extend it to other out of combat commands; like dance or configuring spells, etc.

Did I explain myself well enough? What do you think? Will this work? Would you use it? Can you see any potential problems with it?

Thanks in advance.

EDIT: This is turning into a target management feature as well.