phBot Plugins
  • Introduction
  • Example Plugins
  • phBot API
    • Client
    • Guild
    • Events
    • Players
    • Party
    • NPC
    • Character
    • Academy
    • Inventory
    • Pets
    • Monsters
    • Encoding
    • Locale
    • Config
    • Botting
    • Taxi
    • Packet Injection
    • Log
    • Game Data
    • Teleport
    • Training Area
    • Command Line Arguments
    • Movement
    • Quests
    • Drops
    • Paths
    • Script
    • Notifications
    • Alchemy
    • Misc
  • Chat API
  • Handling Script Commands
  • GUI API
Powered by GitBook
On this page
  • start_script(str)
  • stop_script()
  1. phBot API

Script

Executes a script

start_script(str)

Starts executing a script in the background.

Example

script = '''walk,6434,1094,-32
walk,6435,1087,-32
walk,6435,1078,-32
walk,6441,1072,-32
walk,6448,1056,-32
walk,6450,1044,-32
walk,6449,1035,-32
walk,6442,1030,-32
walk,6434,1026,-32
walk,6431,1026,-32
'''

start_script(script)

stop_script()

Stops executing a script.

PreviousPathsNextNotifications

Last updated 8 months ago