Abonem.COM Forumları  - Müzik, Kültür Sanat, Atatürk, Sağlık, Aşk, İslam, Güvenlik, Oyun, Spor, Donanım  

Geri git   Abonem.COM Forumları - Müzik, Kültür Sanat, Atatürk, Sağlık, Aşk, İslam, Güvenlik, Oyun, Spor, Donanım > Güvenlik > IRC \ Internet Relay Chat
Kayıt ol Yardım Üye Listesi Ajanda Arama Bugünki Mesajlar Forumları Okundu Kabul Et

IRC \ Internet Relay Chat İrc ve irc açıkları hakkında her türlü bilgiye buradan ulaşabilir bildiklerinizi paylaşabilir ve bilmediklerinizi sorabilirsiniz. \ irc and irc open worm holes all the things about irc you can archive forum here and you can share all the things that you didnt know from here...

Konu Kapatılmıştır
 
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 09-11-2005, 13:49
ChilekesH - ait Kullanıcı Resmi (Avatar)
Hızlı Abone
 
Üyelik tarihi: Jan 2005
Nerden: bursa_hack_team
Mesajlar: 174
Tecrübe Puanı: 6
ChilekesH Paylaşmaya Yeni Başlamış
ChilekesH - MSN üzeri Mesaj gönder
Standart Özele Mesaj Filtresi


;{================================================ =================}
; Yardiff's Private Message Filter v1.1
;{================================================ =================}

;{-----------------------------------------------------------------}
; aliases for the configuration file
;{-----------------------------------------------------------------}

; alias to set the config information
alias -l setconfig writeini $scriptdirfilter.cfg filter $1 $2-

; alias to get the config information
alias -l getconfig return $readini $scriptdirfilter.cfg filter $1


;{-----------------------------------------------------------------}
; menu and nicklist stuff
;{-----------------------------------------------------------------}

menu Nicklist {
User Levels
.Add Level:guser -a $$?="What level?" $$1 3
.Display Info:echo 4 -a $$1 $+ 's address is $address($$1,3)
.Remove Level:ruser $$1 3
.-
.Remove Ignore:ignore -r $$1 3
}

menu Menubar {
Private Filter
.Filter is $group(#V.Filter)
..On:.enable #V.Filter
..-
..Off:.disable #V.Filter
.Settings
..Set Message:setconfig message $$?="Your Message:"
..Ignore Time:setconfig ignore $$?="Ignore (seconds):"
}

menu @V.Status {
dclick:/clear @V.Status
C&lear:/clear @V.Status
&Close:/window -c @V.Status
}


;{-----------------------------------------------------------------}
; Status Message Handler
;{-----------------------------------------------------------------}

alias V.LogStatus {
; check if the window has not been created
if ($window(@V.Status) == $null) {
; create it
window -n @V.Status 196 69 478 150 @V.Status
}
; echo the parameters directly to the window and write them to file
echo @V.Status $timestamp $+ : $1-
write V-Personal.log $timestamp $+ : $1-
}

alias -l V.StatusStuff {
; check if the window has not been created
if ($window(@V.Status) == $null) {
; create it
window -n @V.Status 196 69 478 150 @V.Status
}
; echo the parameters directly to the window
echo @V.Status $timestamp $+ : $1-
}


;{-----------------------------------------------------------------}
; aliases for the filter
;{-----------------------------------------------------------------}

; alias to send a message and ignore the nick for a time
alias -l V.MyMessage {
; send the message
msg $nick $getconfig(message)
; ignore them for a time
ignore -pntiku $+ $getconfig(ignore) $nick 3
}

; alias to check if someone is opped, voiced, or a helper
alias -l CheckOVH {
; check if the nick is op/voice/helper on one of the common channels
var %V.LoopChans 0
:V.NextChan
inc %V.LoopChans
if (($1 isop $comchan($1,%V.LoopChans)) || ($1 isvo $comchan($1,%V.LoopChans)) || ($1 ishelp $comchan($1,%V.LoopChans))) {
; return true
return $true
}
; if loop (ie haven't done all the channels yet
if (%V.LoopChans < $comchan($1,0)) goto V.NextChan
; return false
return $false
}


#V.Filter on
; Filter private actions
on ^1:action:*{
; check if we have a chat or a query for the nick
if (($chat($nick) != $null) || ($query($nick) != $null)) goto V.Skipcheck
; check if the nick's user-level is approved, or they are op/voice/help...
if (($ulevel > 1) || ($CheckOVH($nick) == $true) || ($server isin $target)) {
; echo the action to the status window
V.LogStatus  $+ $colour(action text) $+ * $nick $1-
; and end the default action
halt
}
; ignore them for 2 minutes and send a message
V.MyMessage $nick
; echo a message informing you to the status window and halt
V.StatusStuff 4: $+ $nick $+ : tried to send a private action
halt
; label, for skipping the entire process...
:V.Skipcheck
}

; Filter private notices
on ^1:NOTICE:*:*:{
; check if the nick's user-level is approved, or they are op/voice/help...
if (($ulevel > 1) || ($CheckOVH($nick) == $true) || ($server isin $target)) {
; check if we have a chat or query for the nick
if (($chat($nick) != $null) || ($query($nick) != $null)) {
; echo the notice to the query/chat window
echo $colour(notice text) $nick * $+ $nick $+ * $1-
}
else {
; echo the message to the status window
V.LogStatus  $+ $colour(notice text) $+ * $+ $nick $+ * $1-
}
; halt the default notice
halt
}
; ignore them for 2 minutes and send a message
V.MyMessage $nick
; echo a message informing you to the status window and halt
V.StatusStuff 4: $+ $nick $+ : tried to send a notice
halt
}

; Filter private messages
on ^1:TEXT:*{
; check if we have a chat or a query for the nick
if (($chat($nick) != $null) || ($query($nick) != $null)) goto V.Skipcheck
; check if the nick's user-level is approved, or they are op/voice/help...
if (($ulevel > 1) || ($CheckOVH($nick) == $true) || ($server isin $target)) {
; echo the text to the status window and halt the default action
V.LogStatus < $+ $nick $+ > $1-
halt
}
; ignore them for 2 minutes and send a message
V.MyMessage $nick
; echo a message informing you to the status window and halt
V.StatusStuff 4: $+ $nick $+ : tried to send a private message
halt
; label, for skipping the entire process...
:V.Skipcheck
}


;{-----------------------------------------------------------------}
; Yardiff's private DCC filter
;{-----------------------------------------------------------------}

; Filter Query sessions
on ^1:OPEN:?:{
; check if the nick's user-level is approved, or they are op/voice/help...
if (($ulevel > 1) || ($CheckOVH($nick) == $true)) goto V.Skipcheck
; ignore them for 2 minutes and send a message
V.MyMessage $nick
; echo a message informing you to the status window and halt
V.StatusStuff 4: $+ $nick $+ : tried to query you
halt
; label, for skipping the entire process...
:V.Skipcheck
}

; Filter Chat sessions
on 1CCSERVER:Chat:{
; check if the nick's user-level is approved, or they are op/voice/help...
if (($ulevel > 1) || ($CheckOVH($nick) == $true)) goto V.Skipcheck
; ignore them for 2 minutes and send a message
V.MyMessage $nick
; echo a message informing you to the status window and halt
V.StatusStuff 4: $+ $nick $+ : tried to DCC chat you
halt
; label, for skipping the entire process...
:V.Skipcheck
}

; Filter send sessions
on 1CCSERVER:Send:{
; check if the nick's user-level is approved, or they are op/voice/help...
if (($ulevel > 1) || ($CheckOVH($nick) == $true)) goto V.Skipcheck
; ignore them for 2 minutes and send a message
V.MyMessage $nick
; echo a message informing you to the status window and halt
V.StatusStuff 4: $+ $nick $+ : tried to DCC send to you
halt
; label, for skipping the entire process...
:V.Skipcheck
}
#V.Filter end

;{-----------------------------------------------------------------}
; on load event
;{-----------------------------------------------------------------}

on 1:load:{
; display the initial welcome message
echo 2 -a Welcome to Yardiff's Private Message Filter (v1.1)
echo 2 -a This addon should work in mIRC v5.6 onwards - earlier versions will require some changes to the syntax (go for it, if you really want to)
; check if the filter.cfg file doesn't exist
if ($exists($scriptdirfilter.cfg) == $false) {
; create it and its default messages
setconfig message I don't accept private messages and stuff
setconfig ignore 120
}
}
----------------------------------
Konu Kapatılmıştır


Seçenekler
Stil

Yetkileriniz
Yeni Mesaj yazma yetkiniz aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz aktif değil dir.

Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık


Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
Hotmail den - Telsime Mesaj DieForYou Kırık Linkler 4 07-26-2007 12:39
Carrusca'dan Gerets'e mesaj ENİGMA Galatasaray 0 09-09-2006 16:24
Bedava Mesaj Atın sercan Cep Telefonları 0 12-13-2005 19:14
Ülkücülerden Erdoğan'a son mesaj karahisar Güncel Haberler 9 08-26-2005 21:21
İCqde Boş Mesaj Master Messenger ve Diğer Mesajlaşma Programları 0 02-22-2005 18:05


Bütün Zaman Ayarları WEZ +3 olarak düzenlenmiştir. Şu Anki Saat: 05:22 .


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Abonem.COM
Abonem Toplist

Arama - Toplist - Sohbet - Chat - muhabbet


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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239