Reply
 
Thread Tools Display Modes
Old 12-22-10, 08: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>
Kendian is offline   Reply With Quote
Old 12-22-10, 09: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)
brotherhobbes is offline   Reply With Quote
Old 12-22-10, 09:52 PM   #3
Ketho
A Molten Giant
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 559
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 09:59 PM.
Ketho is offline   Reply With Quote
Old 12-22-10, 11:13 PM   #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.
Kendian is offline   Reply With Quote
Reply

Go BackWoWInterface » 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