Commands

From SmartBots Developers Docs
TotalControl for LSL
Revision as of 18:54, 4 July 2016 by Phil (Talk | contribs) (Created page with "{{DISPLAYTITLE: Commands}} All commands are invoked by calling [http://wiki.secondlife.com/wiki/LlMessageLinked llMessageLinked] LSL function: <syntaxhighlight lang="lsl"> ll...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

All commands are invoked by calling llMessageLinked LSL function:

llMessageLinked( integer linknum, integer num, string str, key id )
  • num is a code of the command (see below)
  • str and id parameters depend on a particular command

See the Examples for usage patterns.

AdminBot for Bots Commands List

The following commands are available within AdminBot for Bots library:

Command Description

Startup commands

SB_SETUP_SETGROUP TotalControl for LSL/Commands/SB SETUP SETGROUP
SB_SETUP_SETGROUPUUID TotalControl for LSL/Commands/SB SETUP SETGROUPUUID
SB_STATUS_QUERY TotalControl for LSL/Commands/SB STATUS QUERY
SB_RESET_ADMINBOT TotalControl for LSL/Commands/SB RESET ADMINBOT

Device settings commands

SB_SETUP_SETOPTIONS TotalControl for LSL/Commands/SB SETUP SETOPTIONS
SB_SETUP_DEVICENAME TotalControl for LSL/Commands/SB SETUP DEVICENAME
SB_SETUP_DEBUG TotalControl for LSL/Commands/SB SETUP DEBUG
SB_SETUP_SETLINK TotalControl for LSL/Commands/SB SETUP SETLINK

Group membership control

SB_INVITE_SEND TotalControl for LSL/Commands/SB INVITE SEND
SB_GROUP_EJECT TotalControl for LSL/Commands/SB GROUP EJECT
SB_AVATAR_GROUP TotalControl for LSL/Commands/SB AVATAR GROUP

Group chat commands / spam control

SB_CHAT_SAY TotalControl for LSL/Commands/SB CHAT SAY
SB_CHAT_LISTEN TotalControl for LSL/Commands/SB CHAT LISTEN
SB_CHAT_MUTE TotalControl for LSL/Commands/SB CHAT MUTE

Group notices commands

SB_NOTICE_SEND TotalControl for LSL/Commands/SB NOTICE SEND

The numeric values are available here: Commands and events values.