2.0/Modules/cs entrymsg
From AnopeWiki
Language | |
---|---|
English |
|
Description
Controls what messages will be sent to users when they join the channel.
Commands
- entrymsg channel ADD message
- The ENTRYMSG ADD command adds the given message to the list of messages to be shown to users when they join the channel.
- entrymsg channel DEL num
- The ENTRYMSG DEL command removes the given message from the list of messages to be shown to users when they join the channel. You can remove the message by specifying its number which you can get by listing the messages as explained below.
- entrymsg channel LIST
- The ENTRYMSG LIST command displays a listing of messages to be shown to users when they join the channel.
- entrymsg channel CLEAR
- The ENTRYMSG CLEAR command clears all entries from the list of messages to be shown to users when they join the channel, effectively disabling entry messages.
Examples
/msg ChanServ ENTRYMSG #myChannel ADD Welcome to the jungle.
/msg ChanServ ENTRYMSG #myChannel DEL 1
/msg ChanServ ENTRYMSG #myChannel LIST
/msg ChanServ ENTRYMSG #myChannel CLEAR
Default Configuration
/* * cs_entrymsg * * Provides the command chanserv/entrymsg. * * Used to configure entry messages sent to users when they join a channel. */ module { name = "cs_entrymsg" /* The maximum number of entrymsgs allowed per channel. If not set, defaults to 5. */ maxentries = 5 } command { service = "ChanServ"; name = "ENTRYMSG"; command = "chanserv/entrymsg"; group = "chanserv/management"; }