Table of Contents

Predefined behavior with ROBOT.txt

See also: ”robot
All Robot-Commands

File c:\…\PikkuBot\config\Botfirstname_Botlastname-ROBOT.txt:

Create this file in the \PikkuBot\config\ directory.
This file has to contain one Robot command in each line.
Parameters follow in the same line separated by a [Tab].

← that is your TAB-key ;)

A simple sample for the Robot control

# Simple Robot-script
# you can add every comment with a "#" as first character in a line

sit    58f9545f-2f66-2cf1-cfcc-666c7bdcb9ad
pause    720
stand
say    Ok, battery's loaded again

move    39,234,21
pause    5

# I prefer "move" instead of "position" as its not needed that the bot arrives exactly 
# at given position, but he gets a time limit with "pause" until it should reach it, 
# otherwise goes on with next command....

move    34,217,21
pause    10

move    57,207,21
pause    15

# ...



A detailed sample for the Robot control

#
# Special Bot-Script - [c] 2007 Eves Sinister
#
# define the start point
#
start SIM,220,44,22
#
# walk a bit around
#
position 237,72,22
#
# the bot goes to a definite position
#
position  227,70,22
#
# and waits 21 seconds for another avatar 
#
timeout 21
#
# if the search for a customer was unsuccessfully, skip next 4 stations W
#
skip 0
#
# bot says somthing to attract customers
#
say Who wants to party with me?
#
# bot is waiting for customers in a range of 15m 
#
customer 16
#
# if someone get´s in range say somthing
say Hey Baby look for my IM and have fun with me :-)
#
# wait a short while
#
pause 3
#
# ask a question via IM
#
im If you want to have fun with me, answer my IM with "yes" otherwise answer "no"
#
# dfine a  Timeout/Skip before waiting to the response
#
timeout 30
skip 0
#
# waiting for an IM  from the customer
#
waitfor yes
#
# if the answer is correct then continue here 
#
say Ok, then follow me my dear
#
# raise range if customer isn´t so fast ^^
#
range 50
#
#where to go now? 
#
toward 205,34,21
position 205,34,21
position 194,30,21
toward 195,28,20
#
# give the customer an advice waht to do 
#
im you have to right mouse click and then choose "sit" 
pause 5
im don´t hesitate it´s easy ;O) 
pause 5
sit 51af9046-0278-c064-be11-e6d9b06ac22c
pause 120
stand
im Thank you so much for your attention! bye ;O) 
pause 10
reload