Anope IRC Services

Anope Development => Modules => Topic started by: eLement on August 26, 2007, 06:35:11 AM

Title: bs_fantasy_move
Post by: eLement on August 26, 2007, 06:35:11 AM
Desc: A fantasy commands that combines two jobs into one.  This command will force part a user from the channel this is typed in, and join them to the channel specified in the syntax

Use Limitations: See Config

Syntax: !move <nick> <channel>

Config: Inside of the module, have a configuration with two options:
// Define whether the Command can be used
//by ChannelOPs
// 0 = Command can be used only by Services Admins
// 1 = Command can be used by ChannelOps
#define BotAutoJoin 1

// Define whether HalfOP is considered ChannelOp
// (disregard this if you set previous value as 0)
// 0 = HalfOP is NOT a channel OP
// 1 = HalfOP is a channel OP
#define  ChanOp 1

I would like to thank anyone, beforehand, for undertaking this module.