Nick Takip Kodu txt
Kodun çalışma mantığı giris.txt dosyasına hostunu baz alarak kanala giren kullanıcıları kayıt eder ve @giris penceresinde bize ispiyonlar.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
alias giris { return giris } on !1:JOIN:#: { window -De @Giris var %mask = $mask($fulladdress,2) var %nfname = $mask($fulladdress,0) ; get the previous nicks var %nicks = $readini(giris.txt, %mask, nicks) ; get the pervious full names var %fname = $readini(giris.txt, %mask, fullname) ; add the new nick ($addtok will take care of duplicates) var %nicks = $addtok(%nicks,$nick,32) ; add the new fname ($addtok will take care of duplicates) var %fname = $addtok(%fname,$ial(%mask).user,32) ; update the nicks writeini -n giris.txt %mask nicks %nicks ; update the seen time writeini -n giris.txt %mask seentime $date ; update the fullname writeini -n giris.txt %mask fullname %fname echo -t @giris 4Bağlanan 5 $nick ------------------------------------------ echo -t @giris 4IP Adresi 5 %mask echo -t @giris 4Önceki Nick:5 $readini(giris.txt, %mask, nicks) echo -t @giris 4Kullanıcı Adı:5 $readini(giris.txt, %mask, fullname) echo -t @giris 4Son Görülen Zaman 5 $readini(giris.txt, %mask, seentime) echo -t @giris 4Kanal:5 $chan echo -t @giris 2End $nick ------------------------------------------ } alias ntrack { var %mask = $address($1,2) var %nfname = $address($1,0) ; get the previous nicks var %nicks = $readini(giris.txt, %mask, nicks) ; get the pervious full names var %fname = $readini(giris.txt, %mask, fullname) ; add the new nick ($addtok will take care of duplicates) var %nicks = $addtok(%nicks,$nick,32) ; add the new fname ($addtok will take care of duplicates) var %fname = $addtok(%fname,$ial(%mask).user,32) echo -a 12 $1 on the ip %mask has used the nicks: $readini(giris.txt, %mask, nicks) and the full names: $readini(giris.txt, %mask, fullname) and was last seen on $readini(giris.txt, %mask, seentime) } menu nicklist { NickTrack:ntrack $$1 } alias giris.txt { return giris.txt } on !1:nick: { window -De @giris var %mask = $mask($fulladdress,2) var %nfname = $mask($fulladdress,0) ; get the previous nicks var %nicks = $readini(giris.txt, %mask, nicks) ; get the pervious full names var %fname = $readini(giris.txt, %mask, fullname) ; add the new nick ($addtok will take care of duplicates) var %nicks = $addtok(%nicks,$newnick,32) ; add the new fname ($addtok will take care of duplicates) var %fname = $addtok(%fname,$ial(%mask).user,32) ; update the nicks writeini -n giris.txt %mask nicks %nicks ; update the seen time writeini -n giris.txt %mask seentime $date ; update the fullname writeini -n giris.txt %mask fullname %fname echo -t @giris 4Bağlanan 5 $nick ------------------------------------------ echo -t @giris 4IP Adresi 5 %mask echo -t @giris 4Önceki Nick:5 $readini(giris.txt, %mask, nicks) echo -t @giris 4Kullanıcı Adı:5 $readini(giris.txt, %mask, fullname) echo -t @giris 4Son Görülen Zaman 5 $readini(giris.txt, %mask, seentime) echo -t @giris 4Kanal:5 $chan echo -t @giris 2End $nick ------------------------------------------ } |
Alıntıdır.