Command: modchan#
Summary#
Command | Default Level | Global Only? |
---|---|---|
modchan | 450 | no |
Description#
- Modification of channel settings:
mode
: the scanner mode for clients joining the channel:on
,off
,secure
. See command: modedesc
: the channel descriptionurl
: the website URL of the channel
- Options to take a value of
on
oroff
:autotopic
: automatically set the topic using the channeldesc
andurl
floatlim
: automatically manage the channel limit, to avoid large floodnetsfloatperiod
: frequency (in seconds) to check for chan limit adjustmentsfloatmargin
: keep the chan limit this value above the current user countfloatgrace
: only change the limit when the difference between current limit and suercount is within this value
strictop
: only allow authenticated users level 100 or above to be oppedstricvoice
: only allow authenticated users level 1 or above to be voicedtrakka
: enable scoring and enforcement of unknown users.operop
: automatically op joining IRC Operators and send notice to channel opsquote
: channel quote management. Requires thequote
plugin to be loaded. See command: quotequoterand
: send a random quote to the channel every hour. Requires thequote
setting to beon
openai
: ask questions and continue conversations with OpenAI ChatGPT. See: askimage
: generate images with OpenAI DALL-E model. See: imageimagerand
: send a random image to the channel every hour. Requires theimage
setting to beon
correct
: allow regex corrections of the last matching channel line. Requires thequote
plugin to be loaded.tweet
: enable thetweet
command in the channeltweetquote
: automatically post added quotes to Twitter
Usage#
modchan ?<chan|*> <mode|url|desc|autotopic|floatlim|floatperiod|floatmargin|floatgrace|strictop|strictvoice|trakka|correct|operop|quote|quoterand|openai|image|imagerand|tweet|tweetquote> <value>
- Channel parameter is optional. If not given, the bot will default to the originating channel, the channel the user has the most access in, or lastly, the default Armour channel.
Examples#
Set url
to www.amour.bot
:
Set channel description to Armour -- abuse and channel management script for eggdrop bots
:
@Empus | y modchan desc Armour -- abuse and channel management script for eggdrop bots
@yolk | done.
Enable autotopic
in #newchan
:
Enable strictop
in #newchan
:
Enable trakka
client scoring and actions:
trakka
plugin to be loaded
Enable string correction responses:
Requires the quote
plugin to be loaded (but not necessarily enabled on a channel)
Corrections
String corrections will be made against the most recent matching line from any client in the channel. Examples:
Replace soccer
with football
:
@Empus | This soccer World Cup has been a wild ride.
@Empus | s/soccer/football/
@yolk | correction, <Empus> This football World Cup has been a wild ride.
Remove the text don't
:
View channel settings:
@Empus | y info #armour
yolk | chan: #armour (id: 5) -- manager: Empus
yolk | mode: on -- autotopic: on -- quote: on -- trakka: on -- correct: on
yolk | url: www.armour.bot
yolk | desc: Armour -- abuse and channel management script for eggdrop bots
yolk | registered: 4 days, 04:41:56 -- by: Empus!empus@172.16.164.1 (Empus)
Related Commands#
Command | Description |
---|---|
addchan | Register and join a new channel |
cmds | List commands available to user |
access | Check if a user has access in a channel |
adduser | Add a user with access to a channel |
help | View the help for a given command |
info | View information for a user or channel |
moduser | Modify a user's access in a channel |
newpass | Change your own user password |
newuser | Create a new bot user on behalf of someone else |
register | Allows a client to create their own bot user |
remchan | Remove a channel and purge all data |
remuser | Remove a user from a channel |
usearch | Searches for registered usernames |
userlist | Displays userlist for a channel |