WoWInterface (
-   Macro Help (
-   -   whisper macro (

Kendian 12-22-10 09:27 PM

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>

brotherhobbes 12-22-10 10:19 PM

you need to use SendChatMessage()

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

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

Ketho 12-22-10 10:52 PM

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"))

Kendian 12-23-10 12:13 AM

Thank you
My thanks, Brother, Ketho, this is exactly what I needed.
:banana: :eek: :banana:

All times are GMT -6. The time now is 03:38 PM.

vBulletin © 2018, Jelsoft Enterprises Ltd
© 2004 - 2017 MMOUI