'005' {
//:molybdenum.libera.chat 005 abcdef WHOX KNOCK MONITOR=100 ETRACE FNC SAFELIST ELIST=CTU CALLERID=g CHANTYPES=# EXCEPTS INVEX CHANMODES=eIbq,k,flj,CFLMPQScgimnprstuz :are supported by this server
//:molybdenum.libera.chat 005 abcdef CHANLIMIT=#:250 PREFIX=(ov)@+ MAXLIST=bqeI:100 MODES=4 NETWORK=Libera.Chat STATUSMSG=@+ CASEMAPPING=rfc1459 NICKLEN=16 MAXNICKLEN=16 CHANNELLEN=50 TOPICLEN=390 DEAF=D :are supported by this server
server_name := parts[0][1..]
capabilities := parts[3].split(' ')
for cap in capabilities {
cap_parts := cap.split('=')
println("$server_name cap ${cap_parts[0]} is ${cap_parts[1]}")
if cap_parts[0] == "NETWORK" {
println("$ircnet.hostname was $ircnet.name set to ${cap_parts[1]}")
ircnet.name = cap_parts[1]
}
}
}