LSL Commands
Send commands to your bot via LSL Instant Message:
llInstantMessage(botUUID, scriptPassword + "^" + command);
Actions
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^offline");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
key UUIDavatar = "00000000-0000-0000-0000-000000000000"; // Recipient UUID
string message = "Hello from my bot!";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^im^" + (string)UUIDavatar + "^" + message);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string message = "Hello world!";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^say^0^" + message); // channel 0 = local chat
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string message = "Hello world!";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^whisper^0^" + message);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string message = "Hello world!";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^shout^0^" + message);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^tp^Belphegor^225^201^69");
}
}
Groups
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDgroup = "00000000-0000-0000-0000-000000000000"; // Group must be open for enrollment
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^join^" + UUIDgroup);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDgroup = "00000000-0000-0000-0000-000000000000"; // Group UUID
string UUIDrole = "00000000-0000-0000-0000-000000000000"; // Role UUID (00000...0 = Everyone)
string UUIDavatar = "00000000-0000-0000-0000-000000000000"; // Avatar to invite
// Bot MUST have invite rights in the group!
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^invite^" + UUIDgroup + "^" + UUIDrole + "^" + UUIDavatar);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDgroup = "00000000-0000-0000-0000-000000000000";
string UUIDrole = "00000000-0000-0000-0000-000000000000";
string UUIDavatar = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^invitef^" + UUIDgroup + "^" + UUIDrole + "^" + UUIDavatar);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDgroup = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^leave^" + UUIDgroup);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDgroup = "00000000-0000-0000-0000-000000000000";
string UUIDavatar = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^eject^" + UUIDgroup + "^" + UUIDavatar);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDgroup = "00000000-0000-0000-0000-000000000000";
string UUIDitem = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^givetogroup^" + UUIDgroup + "^" + UUIDitem);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDgroup = "00000000-0000-0000-0000-000000000000";
string Subject = "Hello";
string Message = "This is a message";
string AttachmentUUID = "00000000-0000-0000-0000-000000000000"; // Optional
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^notice^" + UUIDgroup + "^" + Subject + "^" + Message + "^" + AttachmentUUID);
}
}
Navigation
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^sethome"); // Land must allow setting home
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^tphome");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDavatar = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^offertp^" + UUIDavatar);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^walkto^216^212");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDprim = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^sit^" + UUIDprim);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDobject = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^touch^" + UUIDobject);
}
}
Items
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
// To find an item UUID: IM your bot "#Search:itemname"
string UUIDitem = "00000000-0000-0000-0000-000000000000";
string UUIDavatar = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^giveitem^" + UUIDitem + "^" + UUIDavatar);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDfolder = "00000000-0000-0000-0000-000000000000";
string UUIDavatar = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^givefolder^" + UUIDfolder + "^" + UUIDavatar);
}
}
Options
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^Options^" + (string)llGetOwner());
// Bot will IM you the current accept/reject settings
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + ""^RejTP");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + ""^RejFriend");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + ""^RejGroup");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + ""^RejInv");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + ""^AccTP");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + ""^AccFriend");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + ""^AccGroup");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + ""^AccInv");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^ForwIM"); // Bot will forward all received IMs to you
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^NoForwIM");
}
}
Animations
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^fly");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^stopfly");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^jump");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^stopjump");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^stand");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^sitground");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^sleep");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^standup");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^yoga");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^walk");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^turnleft");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^turnright");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^run");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^land");
}
}
Estate Commands (requires estate rights)
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^restart");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string regionname = "My%20Region"; // Use %20 for spaces
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^restartif^" + regionname);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string message = "Hello everyone!";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^imregion^" + message);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^tphomeregion");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^kickregion");
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDavatar = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^tpavathomeregion^" + UUIDavatar);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDgroup = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^addgroupregion^" + UUIDgroup);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDgroup = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^remgroupregion^" + UUIDgroup);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDavatar = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^addavatregion^" + UUIDavatar);
}
}
key bot = "00000000-0000-0000-0000-000000000000"; // UUID of your Bot
string pass = "yourpass"; // Script Password of your Bot
string UUIDavatar = "00000000-0000-0000-0000-000000000000";
default
{
touch_start(integer n)
{
llInstantMessage(bot, pass + "^remavatregion^" + UUIDavatar);
}
}
IM Commands (send in chat to your bot)
#Search:itemnameExample: #Search:mypic → bot replies with the UUID of "mypic" in its inventory.
Where are you ?Bot replies with its current region and position. Only responds to you.
step forwardBot moves 1 metre forward in the direction it is facing. Only responds to you.
step backBot moves 1 metre backward. Only responds to you.
turn rightBot rotates 90° to the right. Only responds to you.
turn leftBot rotates 90° to the left. Only responds to you.
sit PrimName
Bot scans within 10m for a prim with that name.
If multiple prims share the same name, the bot sends you a numbered list — reply with the number to choose.
Note: the prim must be in the bot's object cache (bot must have been near it for a few seconds).
standBot stands up if currently sitting. Only responds to you.
follow meBot follows you and stays approximately 1.5 metres away, always facing you. Bot and master must be in the same region. Only responds to you.
stop followBot stops following and stays in place. Only responds to you.
Connect your bot via script
string bot = "00000000-0000-0000-0000-000000000000"; // UUID of your bot
string spass = "yourpass"; // Script Password (NOT the SL password)
key reqid;
default
{
touch_start(integer total_number)
{
reqid = llHTTPRequest(
"https://duckbot.net/goonline.php?",
[HTTP_METHOD, "POST", HTTP_MIMETYPE, "application/x-www-form-urlencoded"],
"uuid=" + bot + "&spass=" + spass
);
llOwnerSay("Please wait...");
}
http_response(key request_id, integer status, list metadata, string body)
{
if (request_id == reqid && status == 200)
llOwnerSay(body);
else if (request_id == reqid)
llOwnerSay("Error: " + (string)status);
}
}