CHAT #Type #Message : Send a game message
Ex.: CHAT guild Hello Guild!
Ex.: CHAT private Jelly Hey, what's up!
Available types here
FOLLOW #Player? #Distance? : Trace party member using distance
NOFOLLOW : Stop following
JUMP : Funny knockback visual effect
SIT : Sit or Stand up, depends on current state
CAPE #Type? : Use PVP mode
Ex.: CAPE white
Ex.: CAPE off (quit cape)
EQUIP #ItemName : Equips an item from inventory by full name or part of it
Ex.: EQUIP Angel Flute Mail
Ex.: EQUIP Mail
UNEQUIP #ItemName : Unequips item from character by full name or part of it
REVERSE #Type #Name? Use a reverse to specified type location.
Ex.: REVERSE return - Last return scroll point
Ex.: REVERSE death - Last death point
Ex.: REVERSE player JellyBitz - Party Member
Ex.: REVERSE zone Holy Water Temple
UPPERCASE is required to use the command, data is separated by spaces. #Parameter (required) #Parameter? (optional)
I’m, getting this.
[18:28:14] Plugin: xControl.py has failed to load.
I’ve downloaded Plugins v2.0, which contains python34 and I’ve just placed the plugin in “Plugins” folder.
Addind a little tool to know the exact name from NPC’s when using TELEPORT command
from phBot import *
import QtBind
pVersion = 'v0.0.2'
pName = 'xNPC'
# Needed for phbot GUI
gui = QtBind.init(__name__,pName)
lblNpcs = QtBind.createLabel(gui,"List of NPC's near to you..",21,11)
btnNpcs = QtBind.createButton(gui,'btnNpcs_clicked'," Refresh list ",645,8)
lstNpcs = QtBind.createList(gui,21,30,700,200)
# Clear and load the list of NPCs
def btnNpcs_clicked():
# Get all NPCs and teleporters
npcs = get_npcs()
# Clear the list of npcs
QtBind.clear(gui,lstNpcs)
if npcs:
for key in npcs:
# Append every NPC description to the list
QtBind.append(gui,lstNpcs," Name ["+npcs[key]['name']+"] - Model ["+str(npcs[key]['model'])+"] - ServerName ["+npcs[key]['servername']+"]")
log('Plugin: '+pName+' '+pVersion+' successfully loaded.')