2.0/Modules/cs clone

From AnopeWiki
Jump to: navigation, search
Language

English

Service ChanServ
Module cs_clone
Author Anope

Description

Copies all settings, access, akicks, etc from channel to the target channel. If what is ACCESS, AKICK, or BADWORDS then only the respective settings are cloned.

You must be the founder of channel and target

Commands

clone channel target [what]

Examples

/msg ChanServ CLONE #myChannel #myOtherChannel

Default Configuration

/*
 * cs_clone
 *
 * Provides the command chanserv/clone.
 *
 * Used for copying channel settings from one channel to another.
 */
module { name = "cs_clone" }
command { service = "ChanServ"; name = "CLONE"; command = "chanserv/clone"; group = "chanserv/management"; }