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/)
-   Eggdrop, NeoStats, BNC (https://www.ircforumlari.net/eggdrop-neostats-bnc/)
-   -   !temizle problem (https://www.ircforumlari.net/eggdrop-neostats-bnc/418212-temizle-problem.html)

Elvent 11 Ekim 2011 13:44

!temizle problem
 
Arkadaşlar !temizle komudunu uyguladıgım zaman sorunsuz olarak calısmaktadır. Ancak ben temizleyi şu şekilde yapmak istiyorum

!temizle yazdıgım zaman bot +m alıp temizleyecek, temizleme bittiğinde -m ye alıcak kanalı.

Şimdi kodu vereyim


"$Chan $mode +m" falan ekledim ancak yine olmadı

Kod:

set tmzl " "
 
bind pub - !temizle temizlik
proc temizlik {nick user hand chan arg} {
global tmzl admin_chan
if {[isop $nick $chan] || [onchan $nick $admin_chan]} {
putquick "PRIVMSG $chan : Kanal Ekranı temizleniyor !"
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : $tmzl "
putquick "PRIVMSG $chan : Kanal ekranı temizlendi.}
}
}


¿ 11 Ekim 2011 14:56

Cevap: !temizle problem
 
PHP- Kodu:

set tmzl " "

bind pub - !temizle temizlik
proc temizlik 
{nick user hand chan arg} {
global 
tmzl admin_chan
    
if {[isop $nick $chan] || [onchan $nick $admin_chan]} {
        
putquick "MODE $chan +m"
        
putquick "PRIVMSG $chan :Kanal Ekranı Temizleniyor..."
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :$tmzl"
        
putquick "PRIVMSG $chan :Kanal Ekranı Temizlendi... ($nick)"
        
putquick "MODE $chan -m"
    
}



CLubber 11 Ekim 2011 15:53

Cevap: !temizle problem
 
Kod:

bind pub - !temizle clear
bind pub - !clear clear
bind pub - !sil clear
proc clear {nick uhost handle chan text} {
  if {[isop $nick $chan] || [ishalfop $nick $chan] || [onchan $nick "#Opers"]} {
    putquick "MODE $chan +m"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "PRIVMSG $chan :\002"
    putquick "MODE $chan -m"
  } 
}


Elvent 11 Ekim 2011 16:26

Cevap: !temizle problem
 
Teşekkür ederim arkadaşlar sağolun


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

Powered by vBulletin® Version 3.8.8 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2024 IRCForumlari.Net