phBot Plugins
Search…
Script
Executes a script

start_script(str)

Starts executing a script in the background.
Example
1
script = '''walk,6434,1094,-32
2
walk,6435,1087,-32
3
walk,6435,1078,-32
4
walk,6441,1072,-32
5
walk,6448,1056,-32
6
walk,6450,1044,-32
7
walk,6449,1035,-32
8
walk,6442,1030,-32
9
walk,6434,1026,-32
10
walk,6431,1026,-32
11
'''
12
13
start_script(script)
Copied!

stop_script()

Stops executing a script.
Last modified 9mo ago