;remote3
on @1:TEXT:*i*r*c*.*:#: {
  if (%advertise == ON) { 
    if ($nick isop $chan) { halt } 
    elseif ($chan isin $1-) || (services isin $1-) { halt }
    else  advertisekick
  }
}
on @*:TEXT:*#*:#:{
  if (%advertise == ON) { 
    if ($nick isop $chan) { halt } 
    elseif ($chan isin $1-) { halt }
    else  advertisekick
  }
}
on @1:TEXT:*w*w*w*.*:#:{
  if (%advertise == ON) { 
    if ($nick isop $chan) { halt } 
    elseif ($chan isin $1-) || (services isin $1-) { halt }
    else  advertisekick
  }
}
on @1:action:*#*:#: {
  if (%advertise == ON) { 
    if ($nick isop $chan) { halt } 
    elseif ($chan isin $1-) || (services isin $1-) { halt } 
    else  advertisekick
  }
}
on @1:action:*i*r*c*.*:#: {
  if (%advertise == ON) { 
    if ($nick isop $chan) { halt }
    elseif ($chan isin $1-) || (services isin $1-) { halt } 
    else  advertisekick
  }
}
on @1:TEXT:*/*s*e*r*v*e*r*:#: {
  if (%advertise == ON) { 
    if ($nick isop $chan) { halt }
    elseif ($chan isin $1-) || (services isin $1-) { halt }
    else  advertisekick
  }
}
on @1:action:*w*w*w*.*:#: {
  if (%advertise == ON) { 
    if ($nick isop $chan) { halt }
    elseif ($chan isin $1-) || (services isin $1-) { halt }
    else  advertisekick
  }
}

alias admin2 dialog -m admin admin | did -f admin 10
alias admin4 dialog -m admin admin | did -f admin 12
alias admin5 dialog -m admin admin | did -f admin 13
alias admin6 dialog -m admin admin | did -f admin 14
alias admin8 dialog -m admin admin | did -f admin 80
dialog admin {
  title "OzlemCafe mIRC"
  size -1 -1 230 168
  option dbu
  button "Tamam", 107, 80 150 70 15, default ok
  tab "OzlemCafe mIRC", 100, 1 5 228 140
  box "", 103, 19 19 199 125, tab 100
  text "OzlemCafe mIRC - IRC.OzlemCafe.Com Serverini oneriyor ", 196, 54 25 130 8, tab 100
  icon 102, 20 35 193 30,tema\resim\dyg.jpg, 0, tab 100
  link "OzlemCafe mIRC by Jiyan", 700, 70 132 125 10, tab 100
  box "OzlemCafe mIRC Bilgi", 28, 20 70 194 57, tab 100
  text "OzlemCafe mIRC Jiyan Tarafindan Hazirlanan Bir Sohbet Programidir.", 29, 23 81 181 8, tab 100
  text "Yapimcisi Sistem Denetmeni Jiyan'dir", 30, 23 91 127 8, tab 100
  text "OzlemCafe mIRC User, Operator ve IRCOP larin Butun Gereksinimlerini karsiyayacak sekilde Dizayn Edilmistir. Kaynak Kodlarida Aciktir.", 32, 23 101 188 14, tab 100
  text "OzlemCafe.Com Adresinden Sadece İndirilir İyi Sohbetler.", 33, 23 117 190 8, tab 100
  tab "Genel Korumalar", 10
  box "Kanal Korumalari", 1, 15 25 90 119, tab 10
  check "Kufur Kick", 2, 25 33 70 9, tab 10 push
  check "Bad Nick Kick", 7, 25 44 70 9, tab 10 push
  check "Flood Kick", 4, 25 55 70 9, tab 10 push
  check "Caps Kick", 5, 25 66 70 9, tab 10 push
  check "Reklam Kick", 6, 25 77 70 9, tab 10 push
  check "Tekrar Kick", 3, 25 88 70 9, tab 10 push
  check "Notice Kick", 8, 25 99 70 9, tab 10 push
  check "Renk Kick", 9, 25 110 70 9, tab 10 push
  check "Uzun Yazi Kick", 919, 25 121 70 9, tab 10 push
  check "Join Flood Kick", 920, 25 132 70 9, tab 10 push
  box "Kisisel Korumalar", 16, 110 25 100 58, tab 10
  check "Deop Korumasi", 17, 120 32 60 10, tab 10
  button "?", 618, 195 32 8 9, tab 10
  check "KickBan Korumasi", 18, 120 42 60 10, tab 10
  button "?", 619, 195 42 8 9, tab 10
  check "ozele Kufur Korumasi", 19, 120 52 68 10, tab 10
  button "?", 620, 195 52 8 9, tab 10
  check "ozele Nick Tasmasi", 634, 120 72 68 10, tab 10
  button "?", 635, 195 72 8 9, tab 10
  check "ozele Flood Korumasi", 20, 120 62 68 10, tab 10
  button "?", 621, 195 62 8 9, tab 10
  box "Diger", 1116, 110 83 100 40, tab 10
  button "ozele Reklam Korumasi", 766, 120 91 70 9, tab 10
  button "?", 622, 195 91 8 9, tab 10
  button "Kara Liste", 1161, 120 101 70 9, tab 10
  button "?", 610, 195 101 8 9, tab 10
  button "Kick Mesajlari", 24, 120 111 70 9, tab 10
  button "?", 624, 195 111 8 9, tab 10
  box " Ban sekli ", 962, 110 123 100 21, tab 10
  combo 963, 120 131 70 60, tab 10 size hsbar drop
  button "?", 964, 195 131 8 9, tab 10
  tab " Mesgul Ayarlari ", 12
  box "Mesgul ayari:", 52, 20 25 190 37, tab 12
  text "Mesgul mesaji:", 53, 30 36 46 10, tab 12
  edit "", 54, 75 34 120 10, tab 12 autohs center
  box "", 55, 20 58 190 82, tab 12
  radio "Mesgul Konumuna Gec", 989, 50 65 65 10, tab 12
  radio "Mesgul Konumundan cik", 988, 120 65 65 10, tab 12
  check "Mesgul Mesajini Kanallara Goster", 57, 35 80 95 10, tab 12
  check "Mesgul Olunca Nicke Ekle", 58, 35 95 70 10, tab 12
  edit "", 59, 110 95 65 10, tab 12 autohs
  check "Makina Basinda Degilsem", 60, 35 110 70 10, tab 12
  edit "", 61, 110 110 30 10, tab 12 autohs center
  text "Dakika Sonra Mesgul Ol", 62, 142 112 76 10, tab 12
  check "Gelen Mesajlari Kaydet", 117, 35 125 110 10, tab 12
  tab " Script Duzeni ", 13
  check "ozele Mesaj Yasagi", 655, 25 27 60 10, tab 13
  button "?", 601, 105 27 8 8, tab 13
  check "Dk da Bir Pingle", 65, 25 36 60 10, tab 13
  button "?", 602, 105 36 8 9, tab 13
  check "Saat Goster", 66, 25 45 60 10, tab 13
  button "?", 603, 105 45 8 9, tab 13
  check "Nick Uyarici", 767, 25 54 60 10, tab 13
  button "?", 604, 105 54 8 9, tab 13
  check "Banlanan İp'yi Kickle", 349, 25 63 70 10, tab 13
  button "?", 605, 105 63 8 9, tab 13
  check "Clone Uyarici", 632, 25 81 60 10, tab 13
  button "?", 628, 105 81 8 9, tab 13
  check "İsteyeni Pingle", 629, 25 90 60 10, tab 13
  button "?", 630, 105 90 8 9, tab 13
  check "Cafe ici Yazisma", 631, 25 72 60 10, tab 13
  button "?", 636, 105 72 8 9, tab 13
  box "Mod Tesekkur Menusu", 67, 20 110 95 34, tab 13
  check "", 68, 25 120 10 10, tab 13
  button "?", 612, 105 120 8 9, tab 13
  edit "", 69, 35 120 68 10, tab 13 autohs
  check "", 70, 25 132 10 10, tab 13
  button "?", 613, 105 133 8 9, tab 13
  edit "", 71, 35 132 68 10, tab 13 autohs
  box "", 75, 120 24 90 97, tab 13
  text "", 78, 183 178 20 10, tab 13
  text "", 80, 183 170 20 10, tab 13
  box "Script duzeni", 63, 20 20 95 90, tab 13
  button "Yazi Tipi ", 769, 130 70 60 9, tab 13
  button "?", 768, 195 70 8 9, tab 13
  button "Kayit Listesi", 626, 130 80 60 9, tab 13
  button "?", 625, 195 80 8 9, tab 13
  button "Gorunum Degis", 82, 130 90 60 9, tab 13
  button "?", 611, 195 90 8 9, tab 13
  button "Radyo OzlemCafe", 770, 130 100 60 9, tab 13
  button "?", 771, 195 100 8 9, tab 13
  button "Alarm", 772, 130 110 60 9, tab 13
  button "?", 773, 195 110 8 9, tab 13
  box "", 31, 120 120 90 24, tab 13
  button "Engelledikleriniz", 11, 130 60 60 9, tab 13
  button "VIP Listeniz", 15, 130 50 60 9, tab 13
  button "ozel Kapatma Sistemi", 21, 130 40 60 9, tab 13
  button "Araclar", 22, 130 30 60 9, tab 13
  button "?", 23, 195 60 8 9, tab 13
  button "?", 25, 195 50 8 9, tab 13
  button "?", 26, 195 40 8 9, tab 13
  button "?", 27, 195 30 8 9, tab 13
  check "Oto Identify", 555, 126 125 45 6, tab 13
  edit "", 556, 125 132 79 10, tab 13 pass autohs
  tab "Internet", 14
  text "onemli", 85, 22 25 100 20, tab 14
  text "Arama", 86, 64 25 100 20, tab 14
  text "Televizyonlar", 87, 99 25 100 20, tab 14
  text "Radyolar", 88, 147 25 70 20, tab 14
  text "Gazeteler", 89, 188 25 32 20, tab 14
  box "", 90, 11 20 40 120, tab 14
  box "", 91, 53 20 40 120, tab 14
  box "", 92, 95 20 40 120, tab 14
  box "", 93, 137 20 40 120, tab 14
  box "", 94, 179 20 40 120, tab 14
  button "OzlemCafe", 500, 14 35 35 10, tab 14
  button "Forum", 501, 14 48 35 10, tab 14
  button "Web İnsaat", 502, 14 61 35 10, tab 14
  button "Turkcell", 503, 14 74 35 10, tab 14
  button "Vodefone", 504, 14 87 35 10, tab 14
  button "Hotmail", 505, 14 100 35 10, tab 14
  button "Gmail", 506, 14 113 35 10, tab 14
  button "Yahomail", 507, 14 126 35 10, tab 14
  button "Google", 508, 56 35 35 10, tab 14
  button "Msn Search", 509, 56 48 35 10, tab 14
  button "Yahoo", 510, 56 61 35 10, tab 14
  button "AllTheWeb", 511, 56 74 35 10, tab 14
  button "Altavista", 512, 56 87 35 10, tab 14
  button "Netbul", 513, 56 100 35 10, tab 14
  button "Turknet", 514, 56 113 35 10, tab 14
  button "Superonline", 515, 56 126 35 10, tab 14
  button "Show Tv", 516, 98 35 35 10, tab 14
  button "Kanal D", 517, 98 48 35 10, tab 14
  button "Atv", 518, 98 61 35 10, tab 14
  button "Trt", 519, 98 74 35 10, tab 14
  button "Ntv", 520, 98 87 35 10, tab 14
  button "Cnn Turk", 521, 98 100 35 10, tab 14
  button "Sky Turk", 522, 98 113 35 10, tab 14
  button "Star", 523, 98 126 35 10, tab 14
  button "Show Radyo", 524, 140 35 35 10, tab 14
  button "Radyo D", 525, 140 48 35 10, tab 14
  button "Metro Fm", 526, 140 61 35 10, tab 14
  button "Super Fm", 527, 140 74 35 10, tab 14
  button "Alem Fm", 528, 140 87 35 10, tab 14
  button "PowerFm", 529, 140 100 35 10, tab 14
  button "Radyo 5", 530, 140 113 35 10, tab 14
  button "Istanbul Fm", 531, 140 126 35 10, tab 14
  button "Vakit", 532, 182 35 35 10, tab 14
  button "Yeni safak", 533, 182 48 35 10, tab 14
  button "Sabah", 534, 182 61 35 10, tab 14
  button "Aksam", 535, 182 74 35 10, tab 14
  button "Radikal", 536, 182 87 35 10, tab 14
  button "Zaman", 537, 182 100 35 10, tab 14
  button "Fanatik", 538, 182 113 35 10, tab 14
  button "Milliyet", 539, 182 126 35 10, tab 14
}

dialog kickset {
  title "OzlemCafe mIRC     [ Kick mesajlari ] "
  size -1 -1 315 485
  box "",2, 5 5 305 445
  edit "", 3, 90 25 210 20, autohs
  edit "", 4, 90 50 210 20, autohs
  edit "", 5, 90 75 210 20, autohs
  edit "", 6, 90 100 210 20, autohs
  edit "", 7, 90 125 210 20, autohs
  edit "", 8, 90 150 210 20, autohs
  edit "", 9, 90 175 210 20, autohs
  edit "", 10, 90 200 210 20, autohs
  edit "", 22, 90 225 210 20, autohs
  edit "", 23, 90 250 210 20, autohs
  edit "", 24, 90 275 210 20, autohs
  edit "", 25, 90 300 210 20, autohs
  edit "", 32, 90 325 210 20, autohs
  edit "", 33, 90 350 210 20, autohs
  edit "", 34, 90 375 210 20, autohs
  edit "", 35, 90 400 210 20, autohs
  text "      Kufur Kick:",11,9 27 81 20
  text "    Bad Nick Kick:",12,9 52 81 20
  text "       Caps Kick:",13,9 77 81 20
  text "      Flood Kick:",14,9 102 81 20
  text "    Tekrar Kick:",15,9 127 81 20
  text "    Notice Kick:",16,9 152 81 20
  text "      Renk Kick:",17,9 177 81 20
  text "   Reklam Kick:",18,9 202 81 20
  text "      Kara Liste:",28,9 227 81 20
  text "           İp Ban:",29,9 252 81 20
  text "         Dcc Kick:",30,9 277 81 20
  text "       Clone Kick:",31,9 302 81 20
  text "       Deop Kick:",41,9 327 81 20
  text "      KickBan Kick:",42,0 352 88 20
  text "   Uzun Yazi Kick:",43,0 377 88 20
  text "   Join Flood Kick:",44,0 402 88 20

  button "Kapat", 200, 128 460 90 20, ok  
}
on 1:DIALOG:kickset:*:*: {
  if ($devent == init) {
    did -a kickset 3 %swearkmsg
    did -a kickset 4 %bnickkmsg
    did -a kickset 5 %capskmsg
    did -a kickset 6 %floodkmsg
    did -a kickset 7 %repeatkmsg
    did -a kickset 8 %noticeprokmsg
    did -a kickset 9 %colorkmsg
    did -a kickset 10 %advertisekmsg
    did -a kickset 22 %klkmsg
    did -a kickset 23 %ipkmsg
    did -a kickset 24 %dcckmsg
    did -a kickset 25 %clonekmsg
    did -a kickset 32 %deopkmsg
    did -a kickset 33 %kickprotkmsg
    did -a kickset 34 %uzunkmsg
    did -a kickset 35 %joinmsg
  }
  if ($devent == edit) {
    if ($did == 3) { set %swearkmsg $did(3) }
    if ($did == 4) { set %bnickkmsg $did(4) }
    if ($did == 5) { set %capskmsg $did(5) }
    if ($did == 6) { set %floodkmsg $did(6) }
    if ($did == 7) { set %repeatkmsg $did(7) }
    if ($did == 8) { set %noticeprokmsg $did(8) }
    if ($did == 9) { set %colorkmsg $did(9) }
    if ($did == 10) { set %advertisekmsg $did(10) }
    if ($did == 22) { set %klkmsg $did(22) }
    if ($did == 23) { set %ipkmsg $did(23) }
    if ($did == 24) { set %dcckmsg $did(24) }
    if ($did == 25) { set %clonekmsg $did(25) }
    if ($did == 32) { set %deopkmsg $did(32) }
    if ($did == 33) { set %kickprotkmsg $did(33) }
    if ($did == 34) { set %uzunkmsg $did(34) }
    if ($did == 35) { set %joinmsg $did(35) }
  }
}
