Changing the llMessageLinked linknum
From SmartBots Developers Docs
AdminBot for LSLExamples
Revision as of 20:23, 29 June 2016 by Phil (Talk | contribs) (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...")
Jump to: navigation, search
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.
- Changing the llMessageLinked linknum