# $useGuild[] — Choose the server of the run

`$useGuild[]` makes the rest of the script act on another server: channel and role functions, `$serverName`, `$serverSnapshot`… A private message has no server, so a script started by one (a modmail for instance) calls `$useGuild` first. Replies are still sent in the channel the script started from. Not in BibiScript.

## Syntax

```
$useGuild[serverID]
```

## Parameters

| Parameter | Description |
|---|---|
| `serverID` | **Required.** The ID of a server where the bot is present. Anything else raises `Invalid guild ID.`, and a server the bot is not in raises `Guild not found.` |

## Return Value

- **Type**: none (empty text).

## Examples

### Create a channel on the first server from a private message

```bdfd
$useGuild[$serverIDs[1]]
$createChannel[support-$username;text]
```
