Skip to content
Nicholas van de Walle edited this page Jun 21, 2026 · 3 revisions

TrowlLord Wiki

TrowlLord is a native Rust re-implementation of the Delta Tao Clan Lord client (the old C++ Mac client), talking to the live servers. Pure iced GUI — no webview, no JS.

Right now this wiki documents the Lua macro engine. More may show up here later.

Lua macros

TrowlLord runs two macro languages side by side: the classic Clan Lord macro language and a full Lua 5.4 engine. Reach for Lua when you want real variables, lists, conditionals, string handling, or shared helper functions — the stuff the classic language can't do cleanly.

Lua macros live in …/config/LuaMacros/*.lua. Every file loads into one shared world, so a helper defined in one file is callable from the others. A script's top level runs once at load; that's where you register your cl.bind_* / cl.on_* / cl.register handlers.

The Cheatsheet and Guide are also built into the app: Macros window → Lua Guide (its header has a Wiki link back here).

External: Lua 5.4 reference manual.

Clone this wiki locally