# # Fantasy settings: # # # # prefix: # Set the prefix for in-channel aliases (fantasy commands) to the # specified character. If not set, the default is "!". # allowbots: # If this is set to no, +B clients will not be able to use fantasy # commands. If not set, the default is no. # #-#-#-#-#-#-#-#-#-#-#- ALIAS DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-# # # # If you have the m_alias.so module loaded, you may also define # # aliases as shown below. They are commonly used to provide shortcut # # commands to services, however they are not limited to just this use.# # An alias tag requires the following values to be defined in it: # # # # text - The text to detect as the actual command line, # # Cant contain spaces, but case insensitive. # # You may have multiple aliases with the same # # command name (text="" value), however the first # # found will be executed if its format value is # # matched, or it has no format value. Aliases are # # read from the top of the file to the bottom. # # # # usercommand - If this is true, the alias can be run simply as # # /aliasname. Defaults to true. # # # # channelcommand - If this is true, the alias can be used as an # # in-channel alias or 'fantasy command', prefixed # # by the fantasy prefix character, !aliasname by # # default. Defaults to false. # # # # format - If this is defined, the parameters of the alias # # must match this glob pattern. For example if you # # want the first parameter to start with a # for # # the alias to be executed, set format="#*" in the # # alias definition. Note that the :'s which are # # part of IRC formatted lines will be preserved # # for matching of this text. This value is # # optional. # # # # replace - The text to replace 'text' with. Usually this # # will be "PRIVMSG ServiceName :$2-" or similar. # # You may use the variables $1, $2, ... in the # # replace string, which refer to the words in the # # the original string typed by the user. You can # # also use $1- to refer to the first word onward. # # For example, "foo bar baz qux quz" will cause # # $3- to hold "baz qux quz" and $2 to hold "bar". # # You may also use any special variables defined # # for users ($nick, $host, $ip, $gecos, $ident, # # $server, $uuid), and $chan if a channel command. # # Separate multiple commands with a newline (which # # can be written in the file literally, or encoded # # as &nl; or \n depending on the config format). # # # # requires - If you provide a value for 'requires' this means # # the given nickname MUST be online for the alias # # to successfully trigger. If they are not, then # # the user receives a 'no such nick' 401 numeric. # # # # uline - Defining this value with 'yes', 'true' or '1' # # will ensure that the user given in 'requires' # # must also be on a u-lined server, as well as # # actually being on the network. If the user is # # online, but not on a u-lined server, then an # # oper-alert is sent out as this is possibly signs # # of a user trying to impersonate a service. # # # # operonly - Defining this value, with a value of 'yes', '1' # # or true will make the alias oper only. If a non- # # oper attempts to use the alias, it will appear # # to not exist. # # # # # # # # # # # # # # # # # An example of using the format value to create an alias with two # different behaviours depending on the format of the parameters. # # # # # # This alias fixes a glitch in xchat 2.6.x and above and the way it # assumes IDENTIFY must be prefixed by a colon (:) character. It should # be placed ABOVE the default NICKSERV alias (the first example) listed # above. # # # # You may also add aliases to trigger based on something said in a # channel, aka 'fantasy' commands, configured in the same manner as any # other alias, with usercommand="no" and channelcommand="yes" The # command must be preceded by the fantasy prefix when used. # # # # This would be used as "!cs ", with the channel # being automatically inserted after the command in the message to # ChanServ, assuming the fantasy prefix is "!". #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Services support module: Adds account tracking support. # # This module implements the 'identified' state via account names (AC) # and is similar in operation to the way asuka and ircu handle services. # # Prior to 2.1, the functionality of m_account_flags and m_account_modes # was included in this module; you probably want to load those too. # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Legacy registration flags module # This offers +r for users and channels to mark them as identified # seperately from the idea of a master account, which can be useful for # services which are heavily nick-as-account centric. # # If your services package does not use +r, this module is not required. # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # User and channel modes related to accounts. # # User mode +R unidentified users cannot message # Channel mode +R unidentified users cannot join # Channel mode +M unidentified users cannot message # Extban R: match users based on account name # # Note that the extban "M:" from 1.2 can be implemented using muteban # and extban R like "+b m:R:name" # # If you use accounts, you will likely find this module useful. #