#1
|
|||
|
|||
SpamFilter Add-On
kod:
Kod:
dialog SF { title "SpamFilter Add-on | deviLqirL" size -1 -1 255 82 option dbu edit "", 3, 33 16 64 10, autohs edit "", 4, 112 16 34 10, autohs edit "", 5, 157 16 82 10, autohs text "Kelime", 1, 54 35 25 8, center text "Süre", 2, 116 35 25 8, center text "Sebep", 6, 173 35 25 8, center button "Ekle", 7, 72 58 37 12 button "Sil", 8, 152 58 37 12 button "Gizle", 9, 221 43 26 9 box "Ayarlar", 10, 4 2 247 76 } alias Spam /dialog -m SF SF on *:dialog:SF:sclick:*:{ if ($did == 7 ) { .spamfilter add cpnNa gzline $did(4) $+ d $did(5) $did(3) } if ($did == 8 ) { .spamfilter del cpnNa gzline $did(4) $+ d $did(5) $did(3) } if ($did == 9 ) { .dialog -x SF SF } } |