Introduction
Naxbot R is equipped with a very powerful scripting engine, utilizing the Lua scripting language.
A great starting point for scripting is to take a look at the
Script Engine Overview.
For more advanced usage, you may refer to our
API Reference.
Performance
The performance of the scripting engine differs based on the platform it is run on. On Linux, the backend used is LuaJIT, which is a just-in-time compiler for the Lua engine, whereas on Windows, the regular Lua interpreter is utilized.
This means that on Windows, performance will be (on average) 10x slower than on Linux. Unfortunately, this is the result of technical limitations at this time.
If you require maximum scripting performance on Windows, it is recommended to run the bot through
WSL2 for the time being.