---
category: Connection
description: Toggle server autoconnect
---

# /autoconnect

## Syntax

    /autoconnect [on|off]

## Description

Toggle the autoconnect flag for the current server's configuration.
When autoconnect is on, the client will connect to this server
automatically on startup.

Without arguments, shows the current autoconnect status.

## Examples

    /autoconnect
    /autoconnect on
    /autoconnect off

## See Also

/server, /connect
