Quantcast WoWInterface - View Single Post - Announce to Raid Chat issue
View Single Post
02-02-13, 04:41 AM   #15
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,603
A /stopmacro-like command would not work for this, because assuming the first line in your macro casts a spell, that spell is still "being cast" while all other lines in the macro are being processed. For example, if you have this macro:

/cast Albino Drake
...you will always end up mounted, because /dismount (like /stopmacro) happens instantly, while /cast takes time, even for "instant cast" spells. There is no "delay" command, so there is no way to tell the macro to wait until the cast action resolves before executing the next line.
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