Phbot | ~repack~

-- Move to coordinates move_to(100, 200) -- Use skill slot 1 use_skill(1)

(loot.ini):

[Chaos Orb] Pickup=1 MinStack=1 MaxStack=10 (act1_1.lua): -- Move to coordinates move_to(100, 200) -- Use

-- Pickup item by name pickup_item("Orb of Transmutation") -- Move to coordinates move_to(100

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: -- Move to coordinates move_to(100, 200) -- Use

| 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 |