View Single Post
12-15-06, 10:31 PM   #11
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
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
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
  Reply With Quote