Hitakashi / pircbotx

Automatically exported from code.google.com/p/pircbotx
0 stars 0 forks source link

RFC: Adjust runtime configuration based on 004 and 005 server info #218

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently PircBotX doesn't use any of the information provided by the IRC 
server in 004 and 005 responses. There is a ton of information in there that 
could make parsing significantly more accurate. 

From the following outputs, what would you like to see PircBotX be able to 
handle?

Freenode ircd-seven:
* CHANTYPES=# EXCEPTS INVEX CHANMODES=eIbq,k,flj,CFLMPQScgimnprstz 
CHANLIMIT=#:120 PREFIX=(ov)@+ MAXLIST=bqeI:100 MODES=4 NETWORK=freenode KNOCK 
STATUSMSG=@+ CALLERID=g :are supported by this server
* CASEMAPPING=rfc1459 CHARSET=ascii NICKLEN=16 CHANNELLEN=50 TOPICLEN=390 
ETRACE CPRIVMSG CNOTICE DEAF=D MONITOR=100 FNC 
TARGMAX=NAMES:1,LIST:1,KICK:1,WHOIS:1,PRIVMSG:4,NOTICE:4,ACCEPT:,MONITOR: :are 
supported by this server
* EXTBAN=$,ajrxz WHOX CLIENTVER=3.0 SAFELIST ELIST=CTU :are supported by this 
server

Mozilla InspIRCd:
* AWAYLEN=200 CASEMAPPING=rfc1459 CHANMODES=Zbeg,k,FLfjl,ABCDKMNOQRSTcimnprstuz 
CHANNELLEN=64 CHANTYPES=# CHARSET=ascii ELIST=MU ESILENCE EXCEPTS=e 
EXTBAN=,ABCNOQRSTUcmprz FNC KICKLEN=255 MAP :are supported by this server
* MAXBANS=60 MAXCHANNELS=100 MAXPARA=32 MAXTARGETS=20 MODES=20 NAMESX 
NETWORK=Mozilla NICKLEN=31 OPERLOG OVERRIDE PREFIX=(Yqaohv)!~&@%+ SECURELIST 
SILENCE=32 :are supported by this server
* SSL=[::]:6697 STARTTLS STATUSMSG=!~&@%+ TOPICLEN=307 UHNAMES USERIP VBANLIST 
WALLCHOPS WALLVOICES WATCH=32 :are supported by this server

SwiftIRC Unreal:
* CMDS=KNOCK,MAP,DCCALLOW,USERIP NAMESX SAFELIST HCN MAXCHANNELS=50 
CHANLIMIT=#:50 MAXLIST=b:100,e:100,I:100 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 
KICKLEN=307 AWAYLEN=307 MAXTARGETS=20 :are supported by this server
* WALLCHOPS WATCH=128 SILENCE=10 MODES=12 CHANTYPES=# PREFIX=(ohv)@%+ 
CHANMODES=beIqa,kfL,lj,psmntirRcOAQKVCuzNSMTGHFEB NETWORK=SwiftIRC 
CASEMAPPING=ascii EXTBAN=~,cqnrLT ELIST=MNUCT STATUSMSG=@%+ EXCEPTS :are 
supported by this server
* INVEX :are supported by this server

Would you find any of those useful?

Original issue reported on code.google.com by Lord.Qua...@gmail.com on 23 Nov 2014 at 4:47

GoogleCodeExporter commented 9 years ago
Issue 205 has been merged into this issue.

Original comment by jzhou2...@gmail.com on 15 Dec 2014 at 6:16

GoogleCodeExporter commented 9 years ago

Original comment by jzhou2...@gmail.com on 15 Dec 2014 at 6:21

GoogleCodeExporter commented 9 years ago
getServerInfo.getStatusMessage() && getServerInfo.getChannelTypes (for prefixes 
and channel modes respectively)

(Did I mention I hate not being able to edit comments?..)

Original comment by jzhou2...@gmail.com on 15 Dec 2014 at 6:24