Skip to content

Home

Before reviewing our documentation, please read Lua Docs. To write scripts we suggest that you use the built-in Lua editor, but you can use any text editor of your choice.

Our Lua API includes libraries such as LuaJit, BIT, FFI.

Official snippets

We also have snippets for our API, the list of supported programs will grow.

How to load the script?

There are few ways to run a Lua script.

Through the built-in Lua editor:

  1. Copy the script code.
  2. Create a new script using the buttons in the cheat.
  3. Click on 'Edit script' and paste the code into the Lua Editor with CTRL+V.
  4. Click on File then Save and Load. Lua_editor

Using the Lua scripts folder:

  1. Download the script file.
  2. Open the folder 'C:\Users\%username%\AppData\Roaming\Legendware\Scripts' and place the file there.
  3. In the Cheat, click the "Refresh" and "Load" buttons. Lua_folder

This page will continue to be updated with various information about the Legendware API.