Talk:MACRO cast

Substantial rewrite of this article.

/use is not an alias of /cast. Verify this if you want in both FrameXML\GlobalStrings.lua and FrameXML\ChatFrame.lua.

The word "target" is used in confusing ways in this article. "target" is a unit type. @unittype can be many things other than "target". Wherever it made sense to, I replaced "target" with "unittype".

The statement that "target=" is a command has never been true. There is an EBNF syntax diagram that explains this clearly. "Command" in the macro is "/". "Verb" is "cast" (in this context). "Target=" is part of the "parameters".

The final example explanation is so badly wrong I doubt the author understood his material at all.

Nothing in that macro "sets the target" (again, "target" is a unittype and is not referenced anywhere in that example macro - the player's selected target (as in /targetnextenemy or /target) is not affected by and is in fact completely bypassed (if it exists at all) by every conditional in that example macro).

My apologies if anyone's ego is hurt by this, but this was just awful. Virtually none of this was literally true or worthy of being in a reference work about macros.Mltco78dhs (talk) 14:27, 17 August 2017 (UTC)