← Back to Help
X Channel Services — 7 Apr 2026

AUTOLIMIT

AUTOLIMIT Command

Usage

AUTOLIMIT <channel> [on|off|grace|margin|max|period] [value]

Description

The AUTOLIMIT command controls the floating user limit (+l) for a channel.

When enabled, the system automatically adjusts the channel limit based on the current number of users plus a configurable margin. This helps mitigate join floods while still allowing normal users to enter.

Access Requirements

  • Requires master (+m) access on the channel to view or modify settings.

Subcommands

on / off
Enable or disable the AUTOLIMIT feature.

grace <0–19>
Minimum difference required before updating the limit.

  • Prevents frequent small adjustments.
  • Default: 1

margin <2–20>
Number of extra slots added to the current user count.

  • Channel limit = users + margin
  • Default: 3

max <0–65536>
Maximum cap for the channel limit.

  • 0 disables the cap
  • Default: 0

period <20–200>
Minimum number of seconds between automatic updates.

  • Prevents excessive recalculations
  • Default: 20

How It Works

When AUTOLIMIT is enabled:

  • The channel mode +l is automatically updated based on current usage.
  • The system ensures:

    limit = current users + margin
  • Updates respect the configured grace, period, and max values.

Status Display

When enabled, channel information shows AUTOLIMIT settings in this format:

AUTOLIMIT (MGN:3, PRD:20, GRC:1, MAX:0)

Where:

  • MGN = margin
  • PRD = period
  • GRC = grace
  • MAX = maximum limit

Additional Notes

  • Channels with the +r (RELAY) flag delay AUTOLIMIT updates after services reconnect.
  • This allows relay bots to rejoin and repopulate the channel before the limit is recalculated.

    For FULL X commands list please visit https://emechnet.org/?page=services_help