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_bot()
  • stop_bot()
  • start_trace(name)
  • stop_trace()
  • start_trade()
  • stop_trade()
  1. phBot API

Botting

These functions listed below allow you to start/stop botting/trace/trade.

start_bot()

Starts botting.

Returns

True if bot has started, False if starting the bot failed.

stop_bot()

Stops botting.

Returns

True if bot has stopped, False if stopping the bot failed.

start_trace(name)

Starts tracing a player.

Returns

True if tracing has started, False if starting the trace failed.

Usage

start_trace('player name')

stop_trace()

Stops tracing.

Returns

True if trace has stopped, False if stopping the trace failed.

start_trade()

Starts auto trade.

Returns

True if trading has started, False if starting trade failed.

stop_trade()

Stops auto trade.

Returns

True if auto trade has stopped, False if stopping auto trade failed.

PreviousConfigNextTaxi

Last updated 2 years ago