This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
Rub3X
Voice
Posts: 2 Joined: Tue Jun 14, 2005 3:51 am
Post
by Rub3X » Mon Jul 11, 2005 2:39 am
.chanset #gamingbeacon chanmode +ntmVCGS
Successfully set modes { chanmode { +ntmVCGS } } on #gamingbeacon.
[01:31] #Rub3X# chanset #gamingbeacon chanmode { +ntmVCGS }
* ThaRub3X sets mode -G #GamingBeacon
ThaRub3X FFS
* ThaRub3X sets mode -m #GamingBeacon
* b0t sets mode +m #GamingBeacon
It works for some and not others, is that a not standard mode? It doesnt work for a few others either..
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Mon Jul 11, 2005 3:17 am
eggdrop will only enforce chanmodes that are hardcoded in its source
those are (from src/chan.h):
Code: Select all
#define CHANINV 0x0001 /* i */
#define CHANPRIV 0x0002 /* p */
#define CHANSEC 0x0004 /* s */
#define CHANMODER 0x0008 /* m */
#define CHANTOPIC 0x0010 /* t */
#define CHANNOMSG 0x0020 /* n */
#define CHANLIMIT 0x0040 /* l */
#define CHANKEY 0x0080 /* k */
#define CHANANON 0x0100 /* a - ircd 2.9 */
#define CHANQUIET 0x0200 /* q - ircd 2.9 */
#define CHANNOCLR 0x0400 /* c - Bahamut */
#define CHANREGON 0x0800 /* R - Bahamut */
#define CHANMODREG 0x1000 /* M - Bahamut */
#define CHANNOCTCP 0x2000 /* C - QuakeNet's ircu 2.10 */
#define CHANLONLY 0x4000 /* r - ircu 2.10.11 */
#define CHANDELJN 0x8000 /* D - QuakeNet's asuka */
#define CHANSTRIP 0x10000 /* u - QuakeNet's asuka */
#define CHANNONOTC 0x20000 /* N - QuakeNet's asuka */
#define CHANINVIS 0x40000 /* d - QuakeNet's asuka */
Rub3X
Voice
Posts: 2 Joined: Tue Jun 14, 2005 3:51 am
Post
by Rub3X » Tue Jul 12, 2005 4:45 am
Ok, can I add new modes and recompile?
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Tue Jul 12, 2005 4:52 am
sure you can, if by "add" you mean extending eggdrop's ability to handle those (i.e. modifying the C source files, not merely adding new #define's to the header)