# BOT_SETUP_SETLINK

Commands TotalControl to use a specific link number for `llMessageLinked` calls instead of `LINK_SET`.

```csharp
llMessageLinked(LINK_SET, BOT_SETUP_SETLINK, "15", NULL_KEY);
```

```snippet totalcontrol-variables-EsRYwBUh4J
str | New link number (instead of default `LINK_SET`).
id  | —
```

## Comments

This command is used to **optimize device performance** for high-prim objects.  
By default, TotalControl sends events to `LINK_SET`. You can specify an exact link number of the prim to improve performance.

## Example

```csharp
integer BOT_SETUP_SETLINK = 280102;

default
{
	state_entry()
	{
		llMessageLinked(LINK_SET, BOT_SETUP_SETLINK, "15", NULL_KEY);
	}
}
```