waypoint("Lioneye's Watch") move_to("The Coast") kill_mobs(10) pickup("currency") move_to("Tidal Island") | Key | Function | |------------|------------------------------| | F12 | Start / Stop bot | | F11 | Pause | | F10 | Reload config | | F9 | Show overlay | | Ctrl+Alt+R | Emergency stop (kill process)| 6. Writing Simple Scripts (Lua) PHBot exposes API functions:
| File | Purpose | |--------------------|----------------------------------------------| | settings.ini | Global bot settings (hotkeys, delays, limits)| | loot.ini | Loot filter rules (pickup, ignore, vendor) | | routes/ | Waypoint path files (movement) | | skills/ | Skill usage logic per class | | profiles/ | Character-specific settings |
-- Move to coordinates move_to(100, 200) -- Use skill slot 1 use_skill(1)