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

IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası (https://www.ircforumlari.net/)
-   mIRC Scripting Hazır Kodlar (https://www.ircforumlari.net/mirc-scripting-hazir-kodlar/)
-   -   İrcop Taraması Addonu (https://www.ircforumlari.net/mirc-scripting-hazir-kodlar/205196-ircop-taramasi-addonu.html)

DenperaS 04 Mayıs 2009 14:12

İrcop Taraması Addonu
 
PHP- Kodu:

;;; Groups
#ircop.netscan off
raw 352:*:{ haltdef did -a $ircop.scanner 11 $}
raw 315:*:{ haltdef | .disable #ircop.netscan }
#ircop.netscan end
#ircop.chanscan off
raw 352:*:{ haltdef | if (* isin $7did -a $ircop.scanner 12 $}
raw 315:*:{ haltdef | .disable #ircop.chanscan }
#ircop.netscan end

;;; Dialogs
Dialog IrcOp
.scanner.dialog {
  
Title "IRcop Taraması"
  
Size --1 200 103
  Option DBU

  Button 
"Tamam"13 89 30 12Ok Default
  
Button "İptal"236 89 30 12Cancel
  Text 
"X"4147 92 60 10,

  
Box "Serverde"53 2 73 84,
  
Box "Kanalda"679 2 73 84,
  
Box "Ayarlar"7155 2 40 84,

  
Button "Tara"825 73 30 10,
  
Button "Tara"983 73 30 10,
  
Button "Yenile"19118 73 30 10,

  
Combo 1083 60 66 100Sort Drop

  
list 117 10 65 67sort autovs autohs
  
list 1283 10 65 54sort autovs autohs

  Button 
"Özele Al"13160 11 30 10,
  
Button "Notice At"14160 23 30 10,
  
Button "CTCP"15160 35 30 10,
  
Button "Bilgileri"16160 47 30 10,
  
Button "Ignore Et"17160 59 30 10,
  
Button "Notife Al"18160 71 30 10,
}
Dialog IrcOp.ctcp.dialog {
  
Title "IrcOp Scanner - CTCP"
  
Size --1 102 74
  Option DBU

  Button 
"Gönder"13 60 30 12Ok Default
  
Button "İptal"236 60 30 12Cancel

  Box 
"CTCPs"43 2 96 55,

  
Radio "Ping"57 11 30 10,
  
Radio "Time"67 22 30 10,
  
Radio "Version"77 33 30 10,
  
Radio "Other:"87 44 30 10,
  
Edit ""939 44 56 10,
}


;;; 
Aliases
alias ircop
-scan dialog -m $ircop.scanner $ircop.scanner }
alias -l ircop.scanner { return ircop.scanner.dialog }
alias -l ircop.ctcp { return ircop.ctcp.dialog }
alias -l ircop.rechan 
  
did -r $ircop.scanner 10 1 ircop.addchan did -c $ircop.scanner 10 1 
  
if ($did($ircop.scanner,10ischan) { did -e $ircop.scanner 9 }
  else { 
did -b $ircop.scanner 9 }
}
alias -l ircop.scan 
  if ($
== net) { .enable #ircop.netscan | who 0 o }
  
elseif ($== chan) { .enable #ircop.chanscan | who $did($ircop.scanner,10,$did($ircop.scanner,10).sel).text }
}
alias -l ircop.addchan {
  var %~
ircop.channum 0
  
while (%~ircop.channum >= 0) {
    
inc %~ircop.channum
    
var %~ircop.chan $chan(%~ircop.channum)
    if (%~
ircop.chan == $null) { goto Break }
    
did -a $ircop.scanner 10 %~ircop.chan
  
}
  :Break
}


;;; 
Remote Events
on 
*:DIALOG:ircop.scanner.dialog:init:0:{ 
  
did -b $ircop.scanner 4,13,14,15,16,17,18 
  
if ($server) { ircop.addchan did -c $ircop.scanner 10 1 }
  else { 
did -b $ircop.scanner 8,9,10,19 }
  if (
$did(10,$did(10).sel) == $null) { did -b $ircop.scanner 9 }
}
on *:DIALOG:ircop.ctcp.dialog:Init:0:{ did -c $ircop.ctcp 5 did -b $ircop.ctcp 9 }
on *:DIALOG:ircop.scanner.dialog:Sclick:*:{
  if (
$did == 1) { $iif($dialog($ircop.ctcp),dialog -x $ircop.ctcp) | unset %~ircop.* }
  if (
$did == 2) { $iif($dialog($ircop.ctcp),dialog -x $ircop.ctcp) | unset %~ircop.* }
  if (
$did == 8) { did -r $ircop.scanner 11 $ircop.scan(net) }
  if (
$did == 9) { did -r $ircop.scanner 12 $ircop.scan(chan) }
  if (
$did == 11) { 
    
did -e $ircop.scanner 13,14,15,16,17,18
    
if ($address($did(11,$did(11).sel),0isignore) { did -o $ircop.scanner 17 1 UnIgnore 
    else { 
did -o $ircop.scanner 17 1 Ignore }
    if (
$address($did(11,$did(11).sel),0isnotify) { did -o $ircop.scanner 18 1 UnNotify }
    else { 
did -o $ircop.scanner 18 1 Notify }
  }
  if (
$did == 13) { query $did(11,$did(11).sel) }
  if (
$did == 14) { notice $did(11,$did(11).sel) $$?="Notice to send to user:" }
  if (
$did == 15) { 
    if (
$dialog($ircop.ctcp)) { dialog -v $ircop.ctcp $ircop.ctcp }
    else { %~
ircop.ctcpnick $did(11,$did(11).sel) | dialog -m $ircop.ctcp $ircop.ctcp }
  }
  if (
$did == 16) { whois $did(11,$did(11).sel) }
  if (
$did == 17) { 
    if (
$address($did(11,$did(11).sel),0isignore) { ignore -r $address($did(11,$did(11).sel),0) | did -o $ircop.scanner 17 1 Ignore }
    else { 
ignore -cktinp $address($did(11,$did(11).sel),0) | did -o $ircop.scanner 17 1 UnIgnore }
  }
  if (
$did == 18) { 
    if (
$address($did(11,$did(11).sel),0isnotify) { notify -r $address($did(11,$did(11).sel),0) | did -o $ircop.scanner 18 1 Notify }
    else { 
notify $address($did(11,$did(11).sel),0) | did -o $ircop.scanner 18 1 UnNotify }
  }
  if (
$did == 19) { ircop.rechan }
}
on *:DIALOG:ircop.scanner.dialog:DClick:*:{
  if (
$did == 11) { if ($serverwhois $did(11,$did(11).sel) }
  if (
$did == 12) { if ($serverwhois $did(12,$did(12).sel) }
}
on *:DIALOG:ircop.ctcp.dialog:Sclick:*:{
  if (
$did == 1) { 
    if (
$did(5).state) { ctcp %~ircop.ctcpnick Ping }
    if (
$did(6).state) { ctcp %~ircop.ctcpnick Time }
    if (
$did(7).state) { ctcp %~ircop.ctcpnick Version }
    if (
$did(8).state) { 
      if (
$did(9)) { ctcp %~ircop.ctcpnick $strip($did(9)) }
      else { echo 
$colour(Info) -* /ctcpinsufficient parameters }
    }
    unset %~
ircop.ctcpnick
  
}
  if ((
$did == 5) || ($did == 6) || ($did == 7)) { did -b $ircop.ctcp 9 }
  if (
$did == 8) { did -e $ircop.ctcp 9 }
}
on *:CONNECT:{ 
  if (
$dialog($ircop.scanner)) { 
    
did -e $ircop.scanner 8,10,19
    
if ($did($ircop.scanner,10)) { did -e $ircop.scanner 9 }
  }
}
on *:DISCONNECT:{ 
  if (
$dialog($ircop.scanner)) { did -b $ircop.scanner 8,9,10,19 }
}
on me:JOIN:#:{ ircop.rechan }
on me:PART:#:{ ircop.rechan }
on *:LOAD:{
  if (
$bits 32) { echo -*** ErrorThis addon requires mIRC32 in order to run.  You are using mirc $+ $bits $+ . | unload -rs " $+ $script $+ " }
  if (
$version 5.72) { echo -*** ErrorThis addon requires mIRC version 5.72 or later.  You are using $version $+ . | unload -rs " $+ $script $+ " }
  else { echo -
*** IrcOp v1.4 has been loaded successfully.  Please refer to ReadMe.txt on how to use this addon. }


kanallarda veya serverde ircop taraması yapan addondur. gayet hoş ve işe yarıyor bazı yerlerini türkçeleştirdim umarım işinize yarar.

Yükleme: Boş Bir Txt Belgesi Oluşturun bu txt belgesinin adı örnek ircop.txt olsun bu belgeyi Mirc Klasörünüzün İçine Veya Mirc Klasörünüzün İçinde Başka Bir Klasöre Atın daha sonra mirci açıp

/load -rs ircop.txt

yazıp enterleyin bu sayede ircop taraması mircinize yüklenecektir. çalıştırmak için

/Ircop-scan yazınız.
-------------------
Alıntıdır...


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2025 IRCForumlari.Net Sparhawk