dfhack/scripts/devel/lua-example.lua

7 lines
135 B
Lua

-- Example of a lua script.
run_count = (run_count or 0) + 1
print('Arguments: ',...)
print('Command called '..run_count..' times.')