Skip to content

Examples ​

Short, curated Lua — not full automation scripts.

  • Hello from a module — Smallest runnable script: print once, then stays loaded on tick.
  • Say in-game — High-level LocalPlayer:say after resolving the local player from the engine.
  • Buy from an open trade — Npc.buy after the NPC trade window is already open. offer.sell is the price you pay.
  • Publish a client action — Official TGameAction publish: toggle mount or cycle the attack target. No packet RVA.
  • Match a keyboard shortcut — Parse Ctrl+Shift+K once, then match it on key_down. Poll with isPressed if you need a hold.
  • Listen for Talk — Subscribe to the typed inbound Talk decoder and print speaker plus text.
  • Pick a kite stand tile — Kite.to plans the next tile. Cardinal steps first; diagonals only when every cardinal neighbor is blocked. Does not walk or attack.

Arcane SDK catalog generated from scripts/sdk