VivixCore / devobot

Automatically exported from code.google.com/p/devobot
0 stars 0 forks source link

control/output via console #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

Sorry, but I can't find another way to contact anyone involved! This is
more of a feature request - although I can do a bit of python myself.

I want to find out if it's possible to completely automate devobot bots, so
that you don't actually have to be logged in to second life in the first
place. Robo2 and others are writing IRC bridges, but really what I want is
to provide a way to simply line up some commands in a script like

teleport home
Sleep 20 
personalspace="5" // 5 metre distance from objects
move to startObject 
for X in (describe objects)
    describe $X
    moveto ($X, personalspace)
    if rand(bla) exclaim some random phrase.
    face $X
    if $X.name = bla
        say "/gesture"
move to object 2... etc

Is this possible with devobot? Doesn't matter if from the console or in the
code itself somewhere, or some other way. But I like python so would be
great if there was a way...

Thanks,

Ale Fernandez

Original issue reported on code.google.com by sko...@gmail.com on 2 Jul 2009 at 9:57

GoogleCodeExporter commented 9 years ago
This is entirely possible since login() in the bot module returns a regular 
libomv
client object with which you can do as you please. I'm about to do a minor 
checkin
that includes some helper functions for scripting devobots and I'll include 
some info
on the homepage also.

Original comment by meat.car...@gmail.com on 18 Jul 2009 at 4:59