This is a “how-to” guide, not a history lesson. Historical API changes, while interesting in their own right, are not relevant for the purpose of this guide.
If you can provide any current examples (current meaning exists in game as of 8.0, not necessarily related to BfA content), I am happy to amend that portion. Otherwise, it stands as is - the commands are functionally identical, in that they are used the same way and the result (i.e. what action is taken by the player) is the same regardless of which command you use.
Again, happy to modify this if you can provide examples. /run
executes the code that follows the same as if that code was dropped in an addon.lua file, properly called by a .toc file, and there was a command or event to execute the code at the given time.
Circumventing the character limit with /click
chains does not remove the 255 character limit per statement. You can’t pass vars between macros, even /click
chained macros, so the point stands.
This is also way more in depth than I want to go here - this is meant to be comprehensive information about macros, not about scripting in Lua.
I will definitely add /click to the slash command section, as it ought to be covered.
Will do, this was an oversight.
An oversight - see above.
I will make a note of that. When I have more time, I will pull a listing and include them all, but for now I will just link to your post.