Back to Scripts
Auto Caps Control
Add-on Version 1.0.1

Auto Caps Control

By EmmaS 23 July 2026 1 downloads 32 views
About this script

Script Details

Auto Caps Control helps keep your chatroom calm by automatically detecting members who repeatedly type in excessive CAPITAL LETTERS.

The script monitors messages and calculates how much of the text is written in capitals. If a message exceeds the configured threshold (80% capitals with at least 12 letters), the member receives a friendly three-part warning reminding them that typing in all caps is considered shouting.

If the behaviour continues, the script automatically escalates the action:

💬 First offence: Friendly warning followed by a 5 minute mute.
🔇 Second offence: A 10 minute mute with humorous bot messages.
👢 Third offence: The member is kicked from the room for repeatedly ignoring the warnings.

To keep things fair, warnings automatically expire after 30 minutes, while offence history resets after 24 hours, giving members a fresh start if they improve their behaviour.

Features
Detects excessive use of CAPITAL LETTERS.
Configurable caps percentage and minimum message length.
Three-stage automated warning sequence.
Automatic 5-minute mute on first offence.
Automatic 10-minute mute on second offence.
Automatically unmutes members after each timeout with a friendly message.
Kicks persistent offenders after repeated violations.
Optional staff exemption (ignore_staff).
Fully configurable delays, messages, mute durations and reset timers.
Adds a little humour to moderation while keeping your chatroom welcoming for everyone.

A great script for busy chatrooms where friendly reminders are preferred before moderation becomes necessary.

Installation
Copy the script code from this page.
Open Notepad (or any plain text editor).
Paste the script into the new document.
Save the file as Language Guard.txt inside your Scripts folder.
Open your NatterFly web client.
Click Scripts from the top menu.
Click Load Script and select Language Guard.
Once the script has loaded successfully, it will begin running automatically.

# --------------------------------------------------
# NatterFly Next Generation Chat Manager
#
# This script requires Sentry and is not compatible
# with the original Enforcer chat manager.
#
# Compatible with:
# ✔ Sentry v1.0+
#
# Not compatible with:
# ✖ Enforcer (Legacy)
# --------------------------------------------------
Full source

View Script

[script]
name = Auto Caps Control
author = EmmaS
version = 1.1
enabled = on

# --------------------------------------------------
# Detects messages containing excessive capitals.
#
# First detection:
#   Displays a three-part warning.
#
# Continued use:
#   Five-minute mute.
#
# Continued use after first mute:
#   Ten-minute mute.
#
# Continued use after second mute:
#   User is kicked from the room.
# --------------------------------------------------

[auto_caps]
enabled = on
ignore_staff = on

caps_percent = 80
minimum_letters = 12
warning_reset = 30m
offence_reset = 24h

# -------- Initial warning --------

warning_1 = Hey %nick%... using CAPITAL LETTERS in a chatroom is classed as shouting.
warning_1_delay_ms = 2000

warning_2 = (A) We'll have no trouble here. This is a friendly chatroom for friendly people!
warning_2_delay_ms = 4000

warning_3 = Please lower your caps, %nick% :)
warning_3_delay_ms = 6000

# -------- First offence --------

offence_1_message = Sorry %nick%, but I did try to warn you :-# Grabs the remote... muted for five minutes!
offence_1_message_delay_ms = 2000

offence_1_action = mute
offence_1_duration = 5m
offence_1_action_delay_ms = 4000
offence_1_reason = Continued use of capital letters after warning.

offence_1_unmute_message = Duct tape removed! %nick% may speak again... just remember, indoor voices (#)
offence_1_unmute_delay_ms = 0

# -------- Second offence --------

offence_2_message = Oh dear, %nick%... we're shouting again. The first timeout clearly didn't help 8o|
offence_2_message_delay_ms = 2000

offence_2_message = Lets go for ten minutes this time...
offence_2_message_delay_ms = 4000

offence_2_message = where's the remote, Ah, Found it!!!
offence_2_message_delay_ms = 6000

offence_2_action = mute
offence_2_duration = 10m
offence_2_action_delay_ms = 8000
offence_2_reason = Repeated use of capital letters after a previous mute.

offence_2_unmute_message = Someone found the remote control... %nick% has been unmuted :) any more and you'll be kicked from the room.
offence_2_unmute_delay_ms = 0

# -------- Third offence --------

offence_3_message = :@ Sorry %nick%, you've ignored the warnings and continued shouting.
offence_3_message_delay_ms = 2000

offence_3_final_message = Opens the door and politely points towards the exit - Lets try my new toe capped boots...
offence_3_final_message_delay_ms = 4000

offence_3_action = kick
offence_3_action_delay_ms = 6000
offence_3_reason = Continued use of capital letters after two temporary mutes.