Script Details
Automatic Hosts is a simple automation script that restores host status to trusted members whenever they join your NatterFly chatroom. Instead of manually assigning host privileges each time someone enters the room, the script does it automatically, making room management quick and effortless.
Simply add the usernames of your trusted hosts to the script, and Enforcer will automatically grant them host permissions a few seconds after they enter the room. This is especially useful for regular co-hosts, moderators, friends or family members who help you manage your chatroom.
Each trusted member has their own rule, making it easy to add, remove or edit hosts whenever you need. The script is fully editable, allowing you to customise the welcome message, delay before promotion, and the reason recorded in the action log.
Please note: The Enforcer bot must be the owner of the chatroom in order to assign host status automatically.
Features
Automatically restores host status when members join.
Supports multiple trusted hosts.
Customisable welcome messages.
Adjustable delay before promotion.
Simple to edit and expand.
No database required.
Customising the Script
To add another automatic host:
Copy an existing rule.
Change match = Knight to the username you wish to promote.
Change the rule ID from auto_host_knight to something unique, for example auto_host_emmas.
Save the script and reload it in Enforcer.
You can repeat this for as many trusted members as you like.
Installation
Copy the script code from this page.
Open Notepad (or any plain text editor).
Paste the script into a new document.
Save the file as Automatic Hosts.txt inside your Scripts folder.
Open your NatterFly web client.
Click Scripts from the top menu.
Click Load Script and select Automatic Hosts.txt.
Once loaded, trusted members will automatically receive their host status whenever they join the room.
Simply add the usernames of your trusted hosts to the script, and Enforcer will automatically grant them host permissions a few seconds after they enter the room. This is especially useful for regular co-hosts, moderators, friends or family members who help you manage your chatroom.
Each trusted member has their own rule, making it easy to add, remove or edit hosts whenever you need. The script is fully editable, allowing you to customise the welcome message, delay before promotion, and the reason recorded in the action log.
Please note: The Enforcer bot must be the owner of the chatroom in order to assign host status automatically.
Features
Automatically restores host status when members join.
Supports multiple trusted hosts.
Customisable welcome messages.
Adjustable delay before promotion.
Simple to edit and expand.
No database required.
Customising the Script
To add another automatic host:
Copy an existing rule.
Change match = Knight to the username you wish to promote.
Change the rule ID from auto_host_knight to something unique, for example auto_host_emmas.
Save the script and reload it in Enforcer.
You can repeat this for as many trusted members as you like.
Installation
Copy the script code from this page.
Open Notepad (or any plain text editor).
Paste the script into a new document.
Save the file as Automatic Hosts.txt inside your Scripts folder.
Open your NatterFly web client.
Click Scripts from the top menu.
Click Load Script and select Automatic Hosts.txt.
Once loaded, trusted members will automatically receive their host status whenever they join the room.
Full source
View Script
[script]
name = Automatic Hosts
author = EmmaS
version = 1.0
enabled = on
# --------------------------------------------------
# NatterFly Automatic Hosts
#
# Automatically gives trusted members host status
# when they enter the chatroom.
#
# Add one rule for each trusted username.
# The Enforcer account must be the room owner.
#
# change the match = Knight to the Username you
# want to host eg: match = Knight
# and the id = auto_host_username to eg:
# id = auto_host_knight
# --------------------------------------------------
[settings]
ignore_staff = off
[rule]
id = auto_host_knight
trigger = join
match = Knight
type = exact
action = make_host
delay_ms = 1500
message = Welcome back %nick%. Your host status has been restored.
reason = Trusted automatic host.