Originally Posted by ferlus
I would like to shift left click on a person in my party frame and have clique run a custom macro or a script that would do the following.
/s I clicked on Ferlus while holding the shift key down.
Ferlus = the name of the unit I clicked on.
Some ideas i had were:
/script text = "I clicked on "..UnitName(this.unit).." while holding the shift key down."
/script SendChatMessage(text)
I get the following error:
[string "text= " I clicked on "..UnitName(this.unit).." while"]:1: Usage: UnitName("unit")
|
/stopmacro [nomodifier:shift]
/say I clicked on %t while holding the shift key down