PHP Kod: Kodu kopyalamak için üzerine çift tıklayın!
alias sohbetkline { /dialog -m sohbetkline sohbetkline }
dialog sohbetkline {
title "K-Line/Shun"
size -1 -1 58 73
option dbu
icon bump\abc.ico, 0
button "Script", 1, 2 4 25 10
button "BadNick", 2, 31 15 25 10
button "Oto Msg", 3, 31 4 25 10
button "Dostluk", 4, 2 15 25 10
button "Reklam", 5, 2 26 25 10
button "Küfür", 6, 2 37 25 10
button "KanalRe", 7, 31 26 25 10
button "Clone", 8, 31 37 25 10
radio "K-Line", 9, 3 61 26 10, group
radio "Shun", 10, 32 61 26 10
button "Kapat", 11, 2 51 54 8, ok cancel
}
alias denis {
if (%mkssh == on) { did -a sohbetkline 1 Sessiz | did -a sohbetkline 2 Susunuz | did -a sohbetkline 3 Küfür | did -a sohbetkline 4 Sakin | did -a sohbetkline 5 Oto Msg | did -a sohbetkline 6 Reklam | did -a sohbetkline 7 Bot | did -a sohbetkline 8 SebepGir }
else { did -a sohbetkline 1 Script | did -a sohbetkline 2 BadNick | did -a sohbetkline 3 Oto Msg | did -a sohbetkline 4 Dostluk | did -a sohbetkline 5 Reklam | did -a sohbetkline 6 Küfür | did -a sohbetkline 7 KanalRe | did -a sohbetkline 8 Clone }
}
alias kapat {
dialog -c sohbetkline sohbetkline | window -c @WHOIS | window -c @WHO | window -c @WHOWAS
}
on 1:dialog:sohbetkline:sclick:9: {
.set %mkkl on | .set %mkssh off
.denis
}
on 1:dialog:sohbetkline:sclick:10: {
.set %mkkl off | .set %mkssh on
.denis
}
on 1:dialog:sohbetkline:init:0: {
if (%mkkl == on) { did -c sohbetkline 9 } | else { did -c sohbetkline 10 }
if (%mkssh == on) { .denis }
.denis
}
on 1:dialog:sohbetkline:sclick:1: {
if (%mkkl == on) { if (*195.87.* !iswm ) { .timer -m 1 1 /kline $$1 %killip 4Script 2Kullanmak Yasaktır! 15 } | else { echo -a %logo 4Sohbetkalite Erişim 2Kullandığı İçin 4 Script 2Sebebi İle Kline Atılmadı! } | Kapat }
if (%mkssh == on) { .timer -m 1 1 /shun %khut 4Sessiz Ol | Kapat }
}
on 1:dialog:sohbetkline:sclick:4: {
if (%mkkl == on) { .timer -m 1 1 /kline $$1 %killip 4Dostluk ortamını 2bozmaya calıştıgınızdan Bir Süre uzaklaştırıldınız. | Kapat }
if (%mkssh == on) { .timer -m 1 1 /shun %khut 4Sakin Ol | Kapat }
}
on 1:dialog:sohbetkline:sclick:5: {
if (%mkkl == on) { .timer -m 1 1 /kline $$1 %killip 4Reklam 2Yasaktır! | Kapat }
if (%mkssh == on) { .timer -m 1 1 /shun %khut 4Oto Msg | Kapat }
}
on 1:dialog:sohbetkline:sclick:6: {
if (%mkkl == on) { .timer -m 1 1 /kline $$1 %killip 4Küfür 2Ettiğiniz için Bir Süre Uzaklaştırıldınız! | Kapat }
if (%mkssh == on) { .timer -m 1 1 /shun %khut 4Reklam | Kapat }
}
on 1:dialog:sohbetkline:sclick:7: {
if (%mkkl == on) { .timer -m 1 1 /kline $$1 %killip 4Kanal Reklamı 2Yasaktır! | Kapat }
if (%mkssh == on) { .timer -m 1 1 /shun %khut 4Bot | Kapat }
}
on 1:dialog:sohbetkline:sclick:8: {
if (%mkkl == on) { .timer -m 1 1 /kline $$1 %killip 2sayısının fazlalıgı nedeni ile uzaklaştırıldınız! | Kapat }
if (%mkssh == on) { .timer -m 1 1 /shun %khut $$?="Sebep Gir" | Kapat }
}
on 1:dialog:sohbetkline:sclick:3: {
if (%mkkl == on) { .timer -m 1 1 /kline $$1 %killip 4Oto Msg 2Yaptığınız için Uzaklaştırıldınız! | Kapat }
if (%mkssh == on) { .timer -m 1 1 /shun %khut 4Oto Msg | Kapat }
}
on 1:dialog:sohbetkline:sclick:2: {
if (%mkkl == on) { .timer -m 1 1 /kline $$1 %killip 4Uygunsuz Nick 2Yasaktır! | Kapat }
if (%mkssh == on) { .timer -m 1 1 /shun %khut 4Susunuz | Kapat }
}
alias kline {
if (reklam == $2) { %userkl. [ $+ [ $1 ] ] = 2 | userhost $1 }
if (script == $2) { %userkl. [ $+ [ $1 ] ] = 1 | userhost $1 }
if (nick == $2) { %userkl. [ $+ [ $1 ] ] = 3 | userhost $1 }
if (dost == $2) { %userkl. [ $+ [ $1 ] ] = 4 | userhost $1 }
if (otomsg == $2) { %userkl. [ $+ [ $1 ] ] = 5 | userhost $1 }
if (kreklam == $2) { %userkl. [ $+ [ $1 ] ] = 6 | userhost $1 }
if (kufur == $2) { %userkl. [ $+ [ $1 ] ] = 7 | userhost $1 }
if (clone == $2) { %userkl. [ $+ [ $1 ] ] = 30 | userhost $1 }
if (kural == $2) { %userkl. [ $+ [ $1 ] ] = 9 | userhost $1 }
if ($2 == $null) { echo -a ******2Lütfen Sebep Belirtiniz (4reklam2/4script2/4nick2/4dost2) }
}
alias kline {
if (*oper-sohbetkalite-com* iswm $1-) || (*212.101.9* iswm $1-) { halt }
else { .raw kline $1- }
}
#ConnectingControl on
on ^1:snotice:*ConnectingControl*:{
halt
}
#ConnectingControl end
#quitoto on
on *:quit:{
if ($nick ison #yönetim) || ($nick ison #oper) && (*You are temporarily banned* iswm $1-) {
tokenize 46 $gettok($address,2,64)
/unkline *@ $+ $1 $+ . $+ $2 $+ . $+ $3 $+ .*
echo -a %sa 2sohbetkalite 4 $nick 2Kline Yedi Oto Açıldı 4 *@ $+ $1 $+ . $+ $2 $+ . $+ $3 $+ .*
}
}
#quitoto end
dialog OzelKoruma {
title "Ozel Koruma"
size -1 -1 59 52
option dbu
check "Notice Flood", 8, 7 4 62 10, flat
check "Özel Flood", 108, 7 14 62 10, flat
check "Action Flood", 107, 7 24 62 10, flat
button "Tamam", 9, 14 36 33 15, flat ok
}
;------------------------------
;OzelKoruma Dialog S-Click
on 1:dialog:OzelKoruma:sclick:*:{
if ($did(8).state == 1) { .enable #nsaldirikorumasi } | else { .disable #nsaldirikorumasi }
if ($did(108).state == 1) { .enable #qsaldirikorumasi } | else { .disable #qsaldirikorumasi }
if ($did(107).state == 1) { .enable #qasaldirikorumasi } | else { .disable #qasaldirikorumasi }
}
;---------------------------------
;OzelKoruma Dialog Init
on 1:dialog:OzelKoruma:init:0:{
if ($group(#nsaldirikorumasi) == on) { did -c OzelKoruma 8 }
if ($group(#qsaldirikorumasi) == on) { did -c OzelKoruma 108 }
if ($group(#qasaldirikorumasi) == on) { did -c OzelKoruma 107 }
}
#nsaldirikorumasi off
on 1:NOTICE:*:?: {
if ($nick == ChanServ) || ($nick == NickServ) || ($nick == MemoServ) || ($nick == SohbetKaliteOpers) || ($nick == crOn) || ($nick == Yas_Gruplari_Bot) || ($nick == Sehirler_Bot) || ($nick == Bulusma_Noktasi_Bot) || ($nick == Team_Bot) || ($nick == Muzik_Bot) { halt }
inc %pnf [ $+ [ $site ] ] | .timer 1 5 unset %pnf [ $+ [ $site ] ]
if (%pnf [ $+ [ $site ] ] == 4) { ignore -u60 $wildsite | msg $nick Flood Yapma! %logo | /echo -a **4Dikkat :12 Notice flood! Nick: $nick IP : $wildsite }
}
#nsaldirikorumasi end
#qsaldirikorumasi off
on 1:TEXT:*:?: {
if ($nick == Chanserv) || ($nick == NickServ) || ($nick == MemoServ) || ($nick == SohbetKaliteOpers) || ($nick == crOn) { halt }
inc %pnf [ $+ [ $site ] ] | .timer 1 5 unset %pnf [ $+ [ $site ] ]
if (%pnf [ $+ [ $site ] ] == 6) { ignore -u60 $wildsite | /closemsg $nick | msg $nick Flood Yapma! %logo | /echo -a **4Dikkat :12 Query flood! Nick:7 $nick 12IP : $wildsite }
}
#qsaldirikorumasi end
#qasaldirikorumasi off
on 1:action:*:?: {
if ($nick == Chanserv) || ($nick == NickServ) || ($nick == MemoServ) || ($nick == SohbetKaliteOpers) || ($nick == crOn) { halt }
inc %pnf [ $+ [ $site ] ] | .timer 1 5 unset %pnf [ $+ [ $site ] ]
if (%pnf [ $+ [ $site ] ] == 6) { ignore -u60 $wildsite | /closemsg $nick | msg $nick Flood Yapma! %logo | /echo -a **4Dikkat :12 Query Action flood! Nick:7 $nick 12IP : $wildsite }
}
#qasaldirikorumasi end