mIRCForumlari.Net

mIRCForumlari.Net (https://www.mircforumlari.net/)
-   mIRC Scripting Hazır Kodlar (https://www.mircforumlari.net/mirc-scripting-hazir-kodlar/)
-   -   mIRC İP-Nick Takip (https://www.mircforumlari.net/mirc-scripting-hazir-kodlar/13176-mirc-ip-nick-takip.html)

RahmetLi 26 Mart 2023 18:21

mIRC İP-Nick Takip
 
PHP- Kodu:

on *:snotice:*:{
  if $regex($1-,/Client connecting (on port|at) (.+)\: (.+) \((.+)@(.+)\)/Si) {
    var %:nick $regml(3), %:ident $regml(4), %:ipnick $regml(5)
    set %nick %:nick
    set %mask %:ipnick
    set %nick2 $readini profil.ini %mask nick   
    set %mask2 $readini profil.ini %mask mask
    if %mask == %mask2 && %nick != %nick2 {
      set %quand $readini profil.ini %mask quand | beep
      window -e @NickTakip
      echo @NickTakip -
      echo @NickTakip - 0,2 <= $+($time,-,$date) => -  0,4 Nick :  0,2 %:nick  -  0,4 Önceki Nicki  :  0,2 %nick2   -  0,4İdent-IP  :  0,2 $+(%:ident,@,%:ipnick)
      echo @NickTakip -

    }
  }
  if !$ini(profil.ini,mask) { hashtable }
}
alias hashtable {
  if !$hget(profil) { .hmake profil 1 }
  else { .hadd profil nick %nick | .hadd profil mask %mask | .hadd profil quand $+($time,-,$date) | .hsave -sai profil profil.ini $hget(profil,mask) | .hfree -s profil }
}

Kullanmak için en az oper yetkisine sahip olmanız gerekir. Kanal girişinde değil sunucu girişinde direkt olarak kullanılan eski nicki gösterir. Bu yüzden de oper,admin,helper,dj,kanal operatörleri vb gibi hostlara sahip olanların çakışmasını engeller.

Hali hazırda sunucu girişinde who çeken bir koda sahipseniz.
Bunu;
PHP- Kodu:

on *:snotice:*:{
  if $regex($1-,/Client connecting (on port|at) (.+)\: (.+) \((.+)@(.+)\)/Si) {

Bununla Değiş;
PHP- Kodu:

raw 352:*:{
    var %:nick $4, %:ident $3, %:ipnick $6



Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 15:09.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.


Navbar with Avatar by Motorradforum