2.0/Modules/cs set misc

From AnopeWiki
Jump to: navigation, search
Language

English

Service ChanServ
Module cs_set_misc
Author Anope

Description

Allows the channel founder to set various channel options and other information.

Commands

SET EMAIL channel email@address
Associate an E-mail address with the channel
SET URL
Associate a URL with the channel

Examples

/msg ChanServ SET #myChannel EMAIL fred@example.org

/msg ChanServ SET #myChannel URL http://www.fredsplace.org

Default Configuration

/*
 * cs_set_misc
 *
 * Provides the command chanserv/set/misc.
 *
 * Allows you to create arbitrary commands to set data, and have that data show up in chanserv/info.
 * A field named misc_description may be given for use with help output.
 */
module { name = "cs_set_misc" }
command { service = "ChanServ"; name = "SET URL"; command = "chanserv/set/misc"; misc_description = _("Associate a URL with the channel"); }
command { service = "ChanServ"; name = "SET EMAIL"; command = "chanserv/set/misc"; misc_description = _("Associate an E-mail address with the channel"); }