Also on AOL
- Autos
- Technology
- Lifestyle
- Gaming
- Finance
- Entertainment on AOL
- Lifestyle on AOL
- Sports on AOL
- Travel on AOL
- More on AOL
Featured Galleries
Joystiq
© 2013 AOL Inc. All rights Reserved. Privacy Policy | Terms of Use | Trademarks | AOL A-Z HELP | About Our Ads

Reader Comments (Page 1 of 1)
2-22-2010 @ 7:57AM
Chris Anthony said...
Paul, the trick is to add the realm name after the character name. UnitName() returns both character name and realm name, so you can combine them in macros. Try this:
/script local u,p,n,r="mouseover","Power Infusion",UnitName(u);if r then n=n.."-"..r end; if IsSpellInRange(p,u)==1 and GetSpellCooldown(p)==0 then SendChatMessage("You just got "..GetSpellLink(p).."!","WHISPER",,n) end
/cast [@mouseover] Power Infusion
That's just skirting the character limit - 254 characters by my count. Also, I haven't tested it, but it *looks* like it should work. :)