IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası
  vaybe sohbet

>
+
Etiketlenen Kullanıcılar

11Beğeni(ler)

 
 
LinkBack Seçenekler Arama Stil
Prev önceki Mesaj   sonraki Mesaj Next
Alt 11 Nisan 2017, 09:24   #2
Çevrimiçi
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
IF Ticaret Sayısı: (0)
IF Ticaret Yüzdesi:(%)
Cevap: CTCP Version help




elhale Nickli Üyeden Alıntı
Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
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:   Kodu kopyalamak için üzerine çift tıklayın!
on *:ctcpreply:VERSION mIRC*:if $($+(%,nc.,$nick),2) { msg #kanal $1 mIRC Girişi Yaptı | unset $+(%,nc.,$nick) } on *:snotice:*Client connecting*:{ var %id ident1 ident2 if $istok(%id,$remove($gettok($gettok($10,1,40),1,64) ,~),32) { ctcp $9 VERSION | set $+(%,nc.,$9) 1 | timer 1 60 vcontrol $9 } } alias vcontrol { if $($+(%,nc.,$1),2) { msg #kanal $1 mIRC Girişi Yaptı| unset $+(%,nc.,$nick) } }

and

[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]

Kod:   Kodu kopyalamak için üzerine çift tıklayın!
on *:ctcpreply:VERSION mIRC*:if $($+(%,nc.,$nick),2) { zline $nick <zline sebebi> | unset $+(%,nc.,$nick) } on *:snotice:*Client connecting*:{ var %id ident1 ident2 if $istok(%id,$remove($gettok($gettok($10,1,40),1,64) ,~),32) { ctcp $9 VERSION | set $+(%,nc.,$9) 1 | timer 1 60 vcontrol $9 } } alias vcontrol { if $($+(%,nc.,$1),2) { zline $1 <zline sebebi> | unset $+(%,nc.,$nick) } }

The code on these topics works but i wanted it to do smth more. I wanted to add to the code when a user with a specific ident connects and doesn't give an answer to the ctcp $nick version command.

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"

/debug @d
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:   Kodu kopyalamak için üzerine çift tıklayın!
alias getd { var %ch #ControlChannel var %min 10 if (!$1) debug -i d getd if $1 { tokenize 32 $1- if (*<-:*NOTICE*:Notice*Client*connecting*on*port*:* iswm $1-) .ctcp $4 VERSION if *PRIVMSG*:VERSION* iswm $1- { .hadd -mu $+ %min ver $4 $+(.timerver_,$4) 1 %min gzline $4 version SUX! $(|) echo %ch $4 Did not respond to the version } if *:*!*@*NOTICE* $+ $hget(ver,$4) $+ :VERSION** iswm $1- { echo %ch Version Reply : $4 to $remove($6-,$chr(1)) hdel ver $4 | $+(.timerver_,$4) off } } }


__________________
2b|!2b=? ~ mircscripting.net
 
Alıntı ile Cevapla

 

Etiketler
connect, ctcp, mirc, version


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Kapalı
Pingbacks are Açık
Refbacks are Açık


Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
Ctcp Skys mIRC Scripting Sorunları 1 18 Aralık 2010 17:22
Ctcp Coder-Ufuk Eggdrop, NeoStats, BNC 0 26 Ocak 2010 12:15
Notice & CTCP Asksihir mIRC Scripting Sorunları 3 31 Mart 2009 22:19
CTCP Reply'da sorun (version) codcu mIRC Scripting Sorunları 4 04 Ağustos 2006 00:57
ctcp beyaz_bjk Chat ve IRC 0 31 Mayıs 2005 11:47