Quantcast WoWInterface - View Single Post - Announce to Raid Chat issue
View Single Post
02-01-13, 07:09 PM   #13
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,616
Originally Posted by Flaer View Post
Is there a way to do it in the macro instead? It does not need to be limited to the 250 or whatever characters.
Not really, because in order to do what you're looking to do, you'd need to create a frame, register some events for it to respond to, define a function for it to run whenever the event(s) fired, and have the function check the event arguments to determine what had happened and perform some action accordingly.

If you have some "unlimited macro" addon, you could technically write all of this in a "macro" but then you would just end up with a macro that you would have to run once (and only once) when you logged in to set up the frame and its event handler, so why not just put the same code in an actual addon that you don't have to manually activate?
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote