Tarih: 14-01-2008, 00:02
Bu kod sunucuya giren kullanıcının
IP adresine bakarak
clone/klon taraması yapar ve bu tarama sonuçlarını
/echo komutu ile aktif ekrana yansıtır.
Kod:
on *:snotice:*: {
if *client connect* iswm $1- {
var %s = $remove($gettok($10,2,64),$chr(41)) | hadd -m ip $+($9,½,%s)
if $hmatch(ip,$+(*,%s),0) >= 2 {
var %q 1,%qq,%qqq = $gettok($hmatch(ip,$+(*,%s),1),2,189)
while %q <= $hmatch(ip,$+(*,%s),0) {
%qq = $addtok(%qq,$gettok($hmatch(ip,$+(*,%s),%q),1,189),44)
inc %q
}
echo -at Bilgi: %qqq adresiden bağlantı kuranlar: %qq }
}
if *client exiting* iswm $1- {
if ($hmatch(ip,$+(*,$remove($gettok($7,2,64),$chr(41))))) hdel ip $v1
}
}