Manual › Scripting API
Scripting API
@rs2b0t/api is the surface external scripts compile against. It reads the ABI the
client installs at globalThis.__rs2b0t and throws if apiVersion is not the one it
was built for.
Pages #
| Page | Covers |
|---|---|
| Write a bot | getting started, and a full worked example |
| Bots | LoopingBot, TaskBot, TreeBot, Execution, defineBot |
| Paint | the overlay HUD: tabs, scrolling lists, wrapping, docking |
| Game | Game, camera, world primitives |
| Entities | queries, entity shapes |
| Items | inventory, equipment, bank, acquisition |
| Banking helpers | deposit rules, keep lists, bank trips |
| Skills | Skills, Prayer |
| Dialogue and trade | ChatDialog, Shop, Trade |
| Movement | walking, nav teleports |
| Quests | the quest surface |
| Events and settings | the event bus, script settings |
| World catalogs 1, 2 | banks, spells, drops, shops, clues |