C H A P T E R  11


Working with Secure Templates

Did you ever wonder what keeps you from developing an addon that completely automates your game? Well, such an addon would break the EULA, and you don't want to do that because you don't want to lose your World of Warcraft account. But what keeps you technically from developing such an addon?

The whole UI is written in Lua and XML, so there are functions that allow you to move your character and to cast spells. For example, there is the function CastSpellByName("name"), which allows you to cast a spell. But try to do this with a simple spell like Attack:

/script CastSpellByName("Attack")

You will ...

Get Beginning Lua with World of Warcraft Addons now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.