Yes! Now it works. I get the results on control channel and gzline-s are issued.
I now have to try and modify it.
As you might have read in the first post I want it to do some other things aswell.
I want it to find out the users connecting with a certain Ident (for example ident Mibbit or Javauser)
14:16:21 *** Notice -- Client connecting at hub2.Albnetwork.net: Beko
(Mibbit@185.32.146.6)
::: [ctcp(Beko)] VERSION REPLY: mIRC v7.29 Khaled Mardam-Bey
or
14:16:21 *** Notice -- Client connecting on port 6667: arb (
JavaUser@79.126.224.241) [Client exited]
::: [ctcp(arb)] VERSION REPLY: mIRC v6.11 Khaled Mardam-Bey
and to report it on control channel
[ ALERT ] Beko is connecting with a prohibited Ident using mIRC
[ ALERT ] arb is connecting with a prohibited Ident using mIRC