This module allows to integrate Melanobot with IRC. (Enabled by default)
nickBot nick (REQUIRED)
serverContainer for the server settings, can optionally have a value in the form host:port instead of the structured fields (REQUIRED)
hostHost name/address for the IRC server
channelsChannels to join (separated by spaces)
loginIRC login credentials
same as nick aboveAuth Nickname
serviceAuth service (Eg: NickServ or Q@CServe.quakenet.org)
commandAuth service command (Eg: IDENTIFY or AUTH)
1Whether private replies should use NOTICE or PRIVMSG
groupsContainer to define authorization groups
[inheritance list]Defines a group called namewhich inherits the permissions of groups specified in inheritance list. (Note that defining groups is optional, they are added automatically when used).
usersContainer to add users to authorization groups
GroupsAdd User (if it starts with "!", will check the logged-in name, with "@" the host name, otherwise the nick name) to Groups (a list of identifiers separated by commas or spaces)
bufferInternal buffer/flood control settings, most likely no need to change these
10Number of seconds for the user message timer
2Number of penalty seconds for each message
120An extra second of penalty is added after these many bytes are sent to the server
510Maximum message length (Excluding \r\n)
These handlers manage responses to various IRC commands
Joins after being kicked.
messageMessage sent when re-joining the channel (optional)
These are to be used for IRC connections to enable CTCP support.
Abstract CTCP handler.
Replies to CTCP VERSION.
Melanobot:2.0:C++– Version string to show in the reply
Replies to CTCP SOURCE. To comply to the AGPL this must be present for irc connections. Also if you modify the bot sources you need to update url to point to the sources of your instance.
https://github.com/mbasaglia/Melanobot_v2Web page with the bot soruces.
Replies to CTCP CLIENTINFO showing help about available CTCP commands.
It is strongly recommended to add this handler to allow the users to know how to use the bot.
Shows user-defined information.
USERINFO– CTCP command to reply too (case insensitive)
reply– Fixed string to be returned in replies
clientinfo– String to show on CLIENTINFO
Replies to CTCP PING.
Preset group containing:
These handlers are used to recognized authed users on IRC.
Uses an IRC 330 reply to detect authed users. (The server sends a 330 as a reply to WHOIS, which must be triggered by some other handler)
Makes the bot ask the server for WHOIS on the message sender.
Automatic auth detection on QuakeNet.
When someone joins a channel, the bot will ask Q for WHOIS on that user (Needs a Q account for the bot). When the bot joins a channel, it will ask Q for USERS on that channel (Requires +k or better on the channel).
Q@CServe.quakenet.orgname of the target to sends the commands to.
Qname of the user to detect the messages.
QWhois is a PresetGroup containing both of these.
Changes the bot nickname.
Instructs the bot to join channels.
Instructs the bot to part channels.
Accepts a IRC INVITE command to join a channel. To allow only on a specific connection, place it in a Group.
Executes raw IRC commands.