Thread: whisper macro
View Single Post
12-22-10, 10:19 PM   #2
brotherhobbes
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 313
you need to use SendChatMessage()
http://www.wowpedia.org/API_SendChatMessage

here's an example i whipped up, might have a typo

/script local n=UnitName("focus") SendChatMessage("Misdirecting "..n ,"WHISPER", nil, n)
  Reply With Quote