Changing the llMessageLinked linknum
From SmartBots Developers Docs
AdminBot for LSLExamples
Revision as of 13:11, 12 May 2017 by Gg (Talk | contribs) (Gg moved page AdminBot for Groups/Examples/Changing the llMessageLinked linknum to AdminBot for LSL/Examples/Changing the llMessageLinked linknum)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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