← Developer · changelog

launcher

v2026.09.04.2115

4 Sept 2026
Scripting: menu actions and hotkeys


Two additions to the .bot language, both documented with worked examples on the docs site.

  • on menu. A new event that runs for every menu action your client sends — attacking, taking, mining, casting — whether the script asked for it or you clicked it yourself. It arrives with the thing it acted on already resolved, so a looter counts pickups from the action rather than from a chat line it might miss, and a script can tell when somebody has taken the mouse. Fifty kinds and twenty-one readers; RSCFalador for now.
  • Keys and buttons, written up properly.
    hotkey("F1", "onBank")
    binds a key in the game window and
    uiButton
    puts the same job on the script tab. Both run your fun on the script thread between passes, so they never interrupt a pass and are safe to share variables with.