![]() |
CTCP Version help Merhaba all, I searched the forum before opening this thread and found 2 topics that somehow offer what im looking for. [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] Kod: on *:ctcpreply:VERSION mIRC*:if $($+(%,nc.,$nick),2) { msg #kanal $1 mIRC Girişi Yaptı | unset $+(%,nc.,$nick) } and [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] Kod: on *:ctcpreply:VERSION mIRC*:if $($+(%,nc.,$nick),2) { zline $nick <zline sebebi> | unset $+(%,nc.,$nick) } So, if anyone can help, how can we identify the users connecting to the server that don't give an answer to the version request? for example the code works for: [12:03:59] <ConnectServ> SIGNON user: User68314 (JavaUser@p50811B44.dip0.t-ipconnect.de [12:03:59] <Network> Got Version Reply from User68314: mIRC v6.12 Khaled Mardam-Bey msg on test channel: [12:04:02] [ ALERT ] User68314 using bad ident with mIRC Entered. But how to do it for when no answer to Version request? [14:12:34] <ConnectServ> SIGNON user: User53456 (JavaUser@185.89.217.233 "No Network Answer" "and no message on test channel" |
Cevap: CTCP Version help Alıntı:
See the [ ALERT ] message. And copy it here. And personal solution. start: /getd blue section is monitor channel. red sction is how long he will respond if he does not respond pink section is ban type. Kod: alias getd { |
Cevap: CTCP Version help Alıntı:
Kod: <- :hub3.network.net NOTICE starkeffect :*** Notice -- Client connecting at hub1.network.net: cuni (Web@79.106.7.8) What I want to do is to get a report for certain idents (mibbit and javauser for example) that connect but are using mirc. Also for the ones i don't get a version to report them aswell on the channel. Eventually, decide what action to take (gzline for example). I am trying to make it work for a hub not only for one server. So, I am using 2 remotes atm Kod: on *:ctcpreply:VERSION*:if ($regex(* mIRC*)) && $($+(%,nc.,$nick),2) { msg #test4 7[ ALERT 7] 4 $nick using bad ident with mIRC Entered. 2 | unset $+(%,nc.,$nick) } Kod: on *:ctcpreply:VERSION mIRC*:if ($regex(* mIRC*)) && $($+(%,nc.,$nick),2) { msg #test4 7[ ALERT 7] 4 $nick using bad ident with mIRC Entered. 1 | unset $+(%,nc.,$nick) } |
Cevap: CTCP Version help no, you do not need to change anything. It does not use any event. It works through raw data. The code I gave. For those who have not responded to the version for some time. If you want to apply for a group of versions, you need to add a condition.(red section) ex: Kod: if *:*!*@*NOTICE* $+ $hget(ver,$4) $+ :VERSION** iswm $1- { |
Cevap: CTCP Version help Alıntı:
Kod: alias getd { if I do /debug @d yes, but nothing happens... just the raw data... |
Cevap: CTCP Version help Debug can only transfer raw data to a point. /getd Kod: ... change gzline $4 hey! your client is not allowed on this server | msg #test4 %ch $4 tried to connect with a prohibited |
Cevap: CTCP Version help Alıntı:
if i load the code on the first post with ctcp $9 version command i get the version of the clients connecting... maybe unreal is different? or is it a problem on my mirc? |
Cevap: CTCP Version help Alıntı:
this may be different on some special edits made and modules added to the servers or networks. Raw data is different from "on events." [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] you can add the word that the red section nickname is. so it will work well. Kod: .. |
Cevap: CTCP Version help Still not getting the results I want... Ok, so here is how I am understanding things. on server notice (@snotice) when users connect i get these notices: Kod: *** Notice -- Client connecting on port 6667: Nick (Mibbit@79.106.40.73) [clients] for "on port" ctcp $9 VERSION and for "at" ctcp $8 VERSION It works and I get the version response back but when I edit your code for the debug raw data Kod: <- :hub.network.net NOTICE starkeffect :*** Notice -- Client connecting on port 6667: Nick (Mibbit@79.106.40.73) [clients] for "on port" ctcp $13 VERSION and for "at" ctcp $12 VERSION right? but when I edit your code to the new identifiers I don't see a version notice on the debug raw data... (i have done the /umode2 -T) it is as if the version command is not issued. The hash table ver is created but it is empty... so for on port the code becomes Kod: alias getd { Kod: alias getd { |
Cevap: CTCP Version help Alıntı:
Kod: on *:start: getd |
Cevap: CTCP Version help Alıntı:
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 |
Cevap: CTCP Version help You can do whatever you want in this area. Kod: if $regex($6-,/(mibbit|lightirc)/i) { kill %v_nick hoop! your client SUX! } "$2" represents the full host-address on the raw version, ie the return version. Kod: if (*<-*:*!*@*NOTICE*:*VERSION* iswm $1-) { Kod: if (*Client*connecting*:* iswm $1-) { that's all get the nick ip host mask etc. exemple Kod: //var %o *** Notice -- Client connecting on port 6667: arb (JavaUser@79.126.224.241) [Client exited] | echo $regsubex(%o,/([\(\)\@])/ig,$chr(32)) *** Notice -- Client connecting on port 6667: arb JavaUser 79.126.224.241 [Client exited] |
Cevap: CTCP Version help Alıntı:
Ok. I tried smth else and it seems to work for what im looking for... since we have a services channel where the version of all the users connecting is posted there, then why not grab it from there and not issue a new ctcp on users connecting... Kod: on *:start: { [02:38:18] <starkeffect> JavaUser Version mismatch -> Nickname: User49445 , IP: ip86-134-125-176.cl.ri.cox.net JavaUser , Actual Version : HexChat 2.12.0 / Linux 4.4.0-73-generic [x86_64/800.50MHz/SMP Ps: thx for your help @[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] , if you have suggestions on the code above pls advise, although it is working for me as it is... |
Cevap: CTCP Version help It does not need such a complicated and long code, but it works and if you do what you want it does not matter :) |
Cevap: CTCP Version help bu code 'de biraz oynama yaparak;; Snotice'de sunucuya giren herkese version çekip bunları kayıt altına alsak. ve admin kanalından !version nick dediğimizde kanala yansıtarak bazı komutları uygulasak? mesela version zline mobilden girmişse model zline gibi.tabi bunlardan başka userlerinde etkileneceğini düşünürek muaf nick muaf ip gibi bir code yapılabilirmi? |
Cevap: CTCP Version help Mantıklı kardeşim. |
Cevap: CTCP Version help [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] buraları dikkatlice okur ve incelersen sen de yapabilirsin.. senin istediğin kişiselleştirilmiş addon, amacımız öğretmek addon yazıp hizmet etmek degil. |
Cevap: CTCP Version help Hizmet et demedik. yardım talep ettik.ve gösterdiğin siteler seninde gördüğün gibi yabancı dil lisanı oldukça yüksek onları tam anlayabilseydim sen gibi. belki şu anda bunu yazıyor olmazdım. yinede ilgi alakana teşekkür ederim |
Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 03:28. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2025 IRCForumlari.Net Sparhawk