Whenever we use commands, we’re treating them like function calls they’re a statement. They function (hah) identically to the functions we’ve already covered some have parameters, some have return values, they all do stuff. Every worthwhile Lua mod on the market has these in it! Anything else just concatenates strings or applies arithmetic or some nonsense.Ī command, at its bearest-bones, is a CA-defined Lua function that does stuff that we can’t see. The three of these are our introduction to messing with the game itself, and making real change. For today’s lesson, the subject is three-fold: commands, interfaces, and listeners.