Changing the llMessageLinked linknum
From SmartBots Developers Docs
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