Get nicks from names
If the bot uses /names in a channel, he needs to get the nicks from the output. Output looks like:
11490820986937 :karatkievich.freenode.net 353 Sagan = #wikimedia-operations :Jeff_Green Zppix Jianhui67 rfarrand krs93 cmjohnson1 Vito freephile MaxSem Amir1 rxy_ domas kingmanor dtm TimStarling qchris_ andre__ Bsadowski1 climadeo mavhc gehel byron Ks0stm revi HakanIST Matthew_ eddiegp mutante OH- JD|cloud Cam11598 jackmcbarn c jynus ToAruShiroiNeko herron marxarelli|afk joewalsh phuedx|zzZ gwicke Pchelolo niedzielski robla[m] paravoid thib Betacommand CFisch_WMDE snowolf Laaknor g0d355__ SpydarOO7 FastLizard4
1490820986938 :karatkievich.freenode.net 353 Sagan = #wikimedia-operations :grumble notpeter mugu Techman224 Garnig Christian75 +icinga-wm tom29739 mark Cameron11598 kerberizer Danny_B Nemo_bis vps_gwicke +wm-bot SMalyshev relrod jdloft jzerebec1i urandom thedj godog jgage raj` ori tgr|away AKPWD @moritzm papaul e apergos +wmopbot volans|off _joe_ Shanmugamp7 gazarsgo bearND marostegui Bucciarati stwalkerster +jouncebot Lydia_WMDE Willis Urbanecm MGC matanya TheDragonFire raynor greg-g AlexZ legoktm shinken-wm cwd
1490820986940 :karatkievich.freenode.net 353 Sagan = #wikimedia-operations :danilo danmichaelo mfournier Lcawte Jamesofur lynette Seddon Trizek madhuvishy CKoerner_WMF akl cajoel Deskana AaronSchulz pcoombe tarrow chelsyx schana phedenskog Elitre Steinsplitter TheresNoTime |404 jeblair ema santhosh +stashbot joal petan DatGuy Sagan Freddy2001 bblack RainbowSprinkles aude PeperPots____ mdholloway|afk chasemp jbenet kaldari xelizabx Nikerabbit Merlissimo ejegg|away logmsgbot abian twentyafterfour Platonides elukey
1490820986942 :karatkievich.freenode.net 353 Sagan = #wikimedia-operations :Sigyn melodykramer Krenair michi_cc jrbranaa jem higgins guillom Isarra Keegan mooeypoo paladox emerson mepps ashley kiwi_0x010C @ChanServ bd808 AndyRussG mobrovac Reedy @robh anomie cscott bbradley Dereckson ragesoss HaeB dingbat pajz brion Krinkle coreyfloyd andrewbogott abartov marktraceur RoanKattouw jdlrobson Esther devunt thcipriani|afk Tobi_WMDE_SW_NA gilles Volker_E bearloga musikanimal olasd Niharika tzatziki Fluffernutter zeljkof
1490820986945 :karatkievich.freenode.net 353 Sagan = #wikimedia-operations :subbu nuria_ jan_drewniak dcausse James_F waifu brendan_campbell josephine ryasmeen milimetric debt edsanders dr0ptp4kt lfaraone @XioNoX matt_flaschen lindseyanne olliv elenah jgirault varnent addshore Polsaker Jogo-obb
1490820986946 :karatkievich.freenode.net 366 Sagan #wikimedia-operations :End of /NAMES list.
irc.lead is the server, Satan is the nick. The server can send a lot of lines, depending on the channel size. The bot needs to know every nick, and it would be nice, if he knows if a user is Operator (@nick), Voiced (+nick), both (@+nick), or just there (nick).