🔔 Çevrimdışı bildirim almak ister misiniz?
Bir konuya etiketlendiğinizde, özel mesaj aldığınızda, bir mesajınız alıntılandığında forumda olmasanız bile anlık bildirim almak için lütfen izni verin.
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: Kodu kopyalamak için üzerine çift tıklayın!
if *:*!*@*NOTICE* $+ $hget(ver,$4) $+ :VERSION** iswm $1- {
echo %ch Version Reply : $4 to $remove($6-,$chr(1))
hdel ver $4 | $+(.timerver_,$4) off
if $regex($6-,/(mibbit|lightirc)/) { gzline $4 hoop! your client are not allow from this server }
}
hmmm i am trying this code
Kod: Kodu kopyalamak için üzerine çift tıklayın!
alias getd {
var %ch #main
var %min 10
if (!$1) debug -i d getd
if $1 {
tokenize 32 $1-
if (*<-:*NOTICE*:Notice*Client*connecting*:* iswm $1-) .ctcp $4 VERSION
if *PRIVMSG*:VERSION* iswm $1- {
.hadd -mu $+ %min ver $4
$+(.timerver_,$4) 1 %min gzline $4 Version Abuse! $(|) msg #test4 %ch $4 Did not respond to version request
}
if *:*!*@*NOTICE* $+ $hget(ver,$4) $+ :VERSION** iswm $1- {
echo %ch Version Reply : $4 to $remove($6-,$chr(1))
hdel ver $4 | $+(.timerver_,$4) off
if $regex($6-,/(mibbit|lightirc)/) { gzline $4 hey! your client is not allowed on this server $(|) msg #test4 %ch $4 tried to connect with a prohibited version }
}
}
}
but when i start the code with /getd I dont get a window with the raw data
if I do /debug @d yes, but nothing happens... just the raw data...