
We added new commands to Bot Playgrounds (Second Life bot JavaScript sandbox):
- Bot.isMyOwner(nameOrUUID) – checks if given resident is an owner of the bot,
- Bot.isMyManager(nameOrUUID) – checks if given resident is a Trusted Manager and allowed to control the bot,
- Bot.checkScriptedAgent(nameOrUUID) – checks if resident is some kind of bot in Second Life,
plus one function to get real-time location of the bot:
- Bot.getLocation() – returns current bot region and coordinates
More info
These functions allow authorizing specific Second Life residents (our managers or partners) to perform restricted interactions with the bot.
Bot.getLocation() function has been added to get a near-realtime location of the bot (the all-purpose Bot.status() function may cache return value for up to 30 seconds).
Happy scripting! And welcome to our Bot Store if you are looking for great bot scripts, including AI.