Blog tools

Blog archives

Program your Second Life bots in… Javascript!

SmartBots Blog May 27, 2016 by Glaznah Gassner

Did you ever dreamed to control your Second Life bots with a convenient language? We did.

SmartBots already have SBSL (a simple scripting language) and AdminBot (which is a library for LSL scripts). However, any “special” language’s features are limited. For example, LSL lacks classes, callback functions, hashes and lot of other modern stuff.

Meet the Bots Playground

Today we are announcing the future-is-here project, the Javascript for Second Life – SmartBots Bots Playground!

What is it? Well, while LSL script is a brain of your in-world object, Bots Playground’s Javascript is a brain of your bot, written in Javascript. Please take a look at the actual screenshot below:

Second Life bot programming in Javascript

Yes, it is a Javascript code, working inside a Second Life bot. We’ve developed a simple browser-based online IDE which allows you examining, editing and running your bot scripts. Editor supports multiple bots and scripts, syntax highlight, error and runtime logs.

Scripts run in isolated sandboxes, they can not affect other scripts or other bots. You can send commands to the bot, receive events, examine the surrounding world and interact with it (for example, touch objects).

Is it available already?

The Bots Playground is still in development. We plan to release it in June. At the very beginning, it will be available for a limited number of beta-testers. If you want to participate in beta-test, please proceed to http://play.mysmartbots.com and fill the form.

Feel free to ask your questions here or by sending IM to Glaznah Gassner! And join us here.

No Comments »

No comments yet.

Leave a comment