Changing the link num

The SB_SETUP_SETLINK command allows you to change 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 contains many prims, this may cause performance issues.

To change the default behavior, use the SB_SETUP_SETLINK command like this:

llMessageLinked(LINK_SET, SB_SETUP_SETLINK, (string)LINK_THIS, slkey);

The new linknum will remain active until reset.