Heya Tynk,

thx for the input


to clear some things up:

I got 3 methods I can play easily:

1. I play the tank and the DPS
2. I play the healer and the DPS
3. I play the DPS

if I'm the tank and the dps everything is fine. someone else keeps the group alive. easy play.

if I'm the healer and the DPS everything is fine, I play the healer and the toons just assist the PUG tank.

if I play the DPS everything is fine. I pick up one of the chars, the others assist me and I'll nuke the hell out of them. easy play.



It starts getting a problem when a PUG DPS is joining the group and I play tank and healer because of the different group order
which I got on my tank (which I play active) and the healer (which just follows me). Usually I see the PUG on position 4 in my group
on the session of my tank and my healer got the PUG on position 1. That's why I can't use party1, party2 .... as targets. I can't
watch the session of my healer each time I cast a heal.


So I need an addon which can do the following:

- create 6 empty Variables (%1, %2, %3, %4, %5, %assist)

- fill the variables via group-chat or whisper:
.addon 1 mytank
(so each session which got that addon fills the variable %1 with the playername "mytank")

- cast spells on the variable name:
/cast [target=%1] Lesser Healing Wave
(it will convert this into: /cast [target=mytank] Lesser Healing Wave)

So I can do the macros once and fill the player names in the variables
in the same order as I see the group-names on the screen of my tank.


anyone in here which can reach me a helping hand with LUA and post me some
parts of existing scripts so I can google for it?

i.e.
- a part where a variable is initialized and filled
- a part where a spell is casted with target = a variable?

would be excellent.



I'd do the addon by myself, just need a start cuz I've never used LUA before.