Difference between revisions of "AdminBot for LSL/Examples/Changing the llMessageLinked linknum"
From SmartBots Developers Docs
(Created page with "{{DISPLAYTITLE: Changing the llMessageLinked linknum}} == SB_SETUP_SETLINK == This command is useful if you want to control how AdminBot sends events to your script. By defa...") |
m (Gg moved page AdminBot for Groups/Examples/Changing the llMessageLinked linknum to AdminBot for LSL/Examples/Changing the llMessageLinked linknum) |
(No difference)
|
Latest revision as of 13:11, 12 May 2017
SB_SETUP_SETLINK
This command is useful if you want to control how AdminBot sends events to your script.
By default, AdminBot sends events to LINK_SET:
llMessageLinked(LINK_SET, SB_CHAT_MESSAGE, slname+": "+message, slkey);
If your object has a lot of prims, you may experience slowdown while sending events LINK_SET. To change the default behavior, call the SB_SETUP_SETLINK command:
llMessageLinked(LINK_SET, SB_SETUP_SETLINK, (string)LINK_THIS, slkey);
The new linknum value will be active until reset.