-- Check inventory full if inventory_full() then vendor_items() end
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:
-- Pickup item by name pickup_item("Orb of Transmutation")
[Chaos Orb] Pickup=1 MinStack=1 MaxStack=10 (act1_1.lua):
(loot.ini):