Skip to Content
2-22-2010 @ 7:57AM
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 InfusionThat's just skirting the character limit - 254 characters by my count. Also, I haven't tested it, but it *looks* like it should work. :)
First time? A confirmation email will be sent to you after submitting.
Members enter your username and password.
Enter your AOL or AIM screenname and password.
Please keep your comments relevant to this blog entry. Email addresses are never displayed, but they are required to confirm your comments.
When you enter your name and email address, you'll be sent a link to confirm your comment, and a password. To leave another comment, just use that password.
To create a live link, simply type the URL (including http://) or email address and we will make it a live link for you. You can put up to 3 URLs in your comments. Line breaks and paragraphs are automatically converted — no need to use <p> or <br /> tags.