Thread Tools Display Modes
12-22-10, 09:27 PM   #1
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 614
whisper macro

#showtooltip Misdirection
/cast [target=focus,help][help][target=pet,exists,nodead] Misdirection
/whisper[target=focus] ~~Misdirect-~%f~~



Sorry to be so stupid, but why will this not whisper my focus target? Can anyone help me with a macro that WILL whisper my focus target, lol? My guild keeps asking me why I named all my hunters pets <no focus>
  Reply With Quote
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
12-22-10, 10:52 PM   #3
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
Imho ppl should use Spell Links in their macro's
#showtooltip Misdirection
/cast [target=focus,help][help][target=pet,exists,nodead] Misdirection
/run SendChatMessage(GetSpellLink(34477).." on [%f]", "WHISPER", nil, UnitName("focus"))

Last edited by Ketho : 12-22-10 at 10:59 PM.
  Reply With Quote
12-23-10, 12:13 AM   #4
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 614
Thank you

My thanks, Brother, Ketho, this is exactly what I needed.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » whisper macro

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off