BMT IRC Network
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Web Applications
install Joomla Wordpress Phpbb Drupal FluxBB PunBB osCommerce simple-machines MYBB moodle vBulletin Dolphin-v.7.1.1 PHPNUKE XOOPS
Services
install BorkNet Services X3 Services Anope Atheme Services Srvx IRC Srervices
IRCD
install Snircd IRCU INSPIRCD UNREAL Nefarious Bircd Bahamut Asuka Charybdis
TCL SCRIPT
TCL SCRIPT FOR EGGDROP Allprotection4.7 Antiproxy
Bots
Bots install FishBot bobot++ Eggdrop janus Omega Security Services Botnix Bopm SupyBot PyLink Hopm
Latest topics
» מדריך גירסה INSPIRCD V4
takeover-protection EmptySat Aug 05, 2023 2:09 am by Chief

» mIRCx IRC Network Config
takeover-protection EmptySat Jul 15, 2023 9:51 pm by Chief

» ircu2.10.12-pk with dnsbl
takeover-protection EmptyFri Mar 10, 2023 2:22 pm by Admin

» Guide install PyLink on New version FreeBSD
takeover-protection EmptyThu Dec 15, 2022 9:39 pm by Chief

» מדריך התקנה PBot על מערכת הפעלה FreeBsd-12
takeover-protection EmptyMon Dec 05, 2022 5:44 am by Chief

» install Nefarious2 && X3 IRC Services in FreeBsd
takeover-protection EmptySat Nov 12, 2022 3:12 pm by Chief

» help problem with adduser in Freebsd 12
takeover-protection EmptyFri Nov 11, 2022 9:06 pm by Chief

» מדריך פקודות והתקנה בסרביס X3
takeover-protection EmptyFri Oct 28, 2022 1:43 pm by Chief

» מדריך הגדרות WebIRC in Nefarious2
takeover-protection EmptyThu Apr 07, 2022 4:45 am by Chief

November 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 

Calendar Calendar

Affiliates
free forum

Affiliates
free forum


takeover-protection

Go down

takeover-protection Empty takeover-protection

Post  Admin Thu Dec 08, 2011 2:43 pm

Code:

on !*:deop:%dechan:{ 
  if ($opnick == $me) && ($nick != %debot) && ($gettok($address($nick,2),2,64) !isin %owners) && (*quakenet* !iswm $nick) {
    if (%debot == Q) { msg %debot ban # $address($nick,2) }
    if (%master == 1) { msg %debot removeuser # $nick }
    timer 1 1 ban -k $chan $nick dont deop me!
    msg %debot op #
  }
  if (*quakenet* iswm $nick) && ($opnick == $me) { .timer 1 1 msg %debot op # }
  if ($opnick != $me) && ($nick != %debot) && (*quakenet* !iswm $nick) {
    ban -k # $nick dont deop anyone!
    mode # +o $opnick
  }
}
elseif ($opnick == $me) {
  msg %debot op #
}
 
 
on !*:kick:%dechan:{
  if ($knick == $me) && ($nick != %debot) && ($gettok($address($nick,2),2,64) !isin %owners) && (*quakenet* !iswm $nick) {
    if (%debot == Q) { msg %debot ban # $address($nick,2) } { halt }
    if (%master == 1) { msg %debot removeuser # $nick }
    msg %debot invite #
    timer 1 2 kick # $nick dont kick me! | timer 1 2 ban # $nick
  }
  if (*quakenet* iswm $nick) && ($knick == $me) { .timer 1 1 join # }
  if ($nick != %debot) && (*quakenet* !iswm $nick) && ($gettok($address($nick,2),2,64) !isin %owners) {
    if (q != $nick) && (l != $nick) {
      mode # -o $nick
      msg q,l removeuser # $nick
      timer 1 2 ban -k # $nick dont kick here!
    }
    elseif ($knick == $me) { msg %debot invite # }
  }
}
on !*:unban:%dechan:{
  if ($nick != %debot) && ($gettok($address($nick,2),2,64) !isin %owners) && (*quakenet* !iswm $nick) {
    mode # -o+bb $nick $banmask $wildsite | kick # $nick no unbans here! | timer 1 2 msg q,l removeuser $nick
  }
}
 
on !*:topic:%dechan:{
  if ($nick != %debot) && ($gettok($address($nick,2),2,64) !isin %owners) && (*quakenet* !iswm $nick) {
    mode # -o+b $nick $wildsite | topic # %topic | kick # $nick Dont change topic!
  }
}
 
on !*:ban:%dechan:{ 
  if ($banmask iswm $address($me,5)) && ($nick != %debot) && (*quakenet* !iswm $nick) {
    if (%master == 1) && ($gettok($address($nick,2),2,64) !isin %owners) { msg %debot removeuser # $nick }
    mode # -bo+b $banmask $nick $wildsite | kick # $nick dont ban me!
    if (%debot == Q) { msg %debot ban # $address($nick,2) }
  }
  if ($nick != %debot) && (*quakenet* !iswm $nick) {
    if (*quakenet* iswm $nick) && ($knick == $me) { .timer 1 1 join # }
    if ($nick != q) && ($nick != l) && ($gettok($address($nick,2),2,64) !isin %owners) {
      mode # -bo+b $banmask $nick $wildsite | kick # $nick dont ban anyone!
      if (%master == 1) { sban $nick }
      if (%master == 1) { msg %debot removeuser # $nick }
    }
  }
  elseif ($banmask iswm $address($me,5)) { mode # -b $banmask }
}
 
on *:invite:%dechan:{ if ($nick == %debot) { join # } }
 
on *:op:%dechan:{
  if ($opnick == $me) {
    mode # -Dic+tNrnul 1337
    .timer 1 3 chakkey
  }
}
 
alias chakkey { if ($chan($active).key) { mode %dechan -k $chan($active).key } }
 
on !*:mode:%dechan:{
  unset %moff
  unset %mon
  set %hardmode 1
  set %onmodes $iif(-* iswm $1,$gettok($1,2,43),$remove($1,+))
  set %offmodes $iif(+* iswm $1,$remove($gettok($1,1,43),-),)
  if (l isincs %onmodes) && ($chan($active).limit < $nick(#,0)) { set %moff %moff $+ l }
  if (k isincs %onmodes) { set %moff %moff $+ k }
  if (i isincs %onmodes) { set %moff %moff $+ i }
  if (r isincs %onmodes) { set %moff %moff $+ r }
  if (D isincs %onmodes) { set %moff %moff $+ D }
  if (c isincs %onmodes) { set %moff %moff $+ c }
  if (b isincs %onmodes) { set %moff %moff $+ b }
  if (s isincs %onmodes) { set %moff %moff $+ s }
  if (p isincs %onmodes) { set %moff %moff $+ p }
  if (u isincs %offmodes) { set %mon %mon $+ u }
  if (C isincs %offmodes) { set %mon %mon $+ C }
  if (t isincs %offmodes) { set %mon %mon $+ t }
  if (n isincs %offmodes) { set %mon %mon $+ n }
  if (N isincs %offmodes) { .timer 1 10 modeNon? }
  if ($gettok($address($nick,2),2,64) !isin %owners) {
    mode # $iif(%moff,- $+ %moff,) $+ $iif(%mon,+ $- %mon,) $iif(k isincs %moff,$chan($active).key,)
    if (%hardmode == 1) { msg %debot removeuser # $nick | kick # $nick dont change modes! | ban # $nick | mode # +tNrnul 1337 }
  }
}
 
alias modeNon? { if (N !isincs $chan(%dechan).mode) { mode %dechan +N } }
 
alias sban { msg %debot ban # $address($1,2) | .timer 1 5 msg %debot bandel # $address($1,2) }
alias qban { msg %debot ban # $address($1,2) }
 
on *:notice:%dechan:{ if ($nick !isop #) { ban -k # $nick 2 } }
 
menu * {
  defence
  .set chan:set %dechan $?\"Type your chan here"
  .master or owner?:$iif($?!\"are you master or owner?" == $true,set %master 1,set %master 0)
  .unattacked
  ..show unattacked list:echo -a %unatt
  ..remove unattacked:unset %remunatt | set %remunatt $?\"Who to remove?" | if (%remunatt) { set %unatt $remtok(%unatt,%remunatt,32) }
  ..add unattacked:unset %addunatt | set %addunatt $?\"Who to add?" | if (%addunatt) { set %unatt $addtok(%unatt,%addunatt,32) }
  .set bot
  ..L:set %debot L
  ..Q:set %debot Q
}
 
alias bankick { mode # +b $address($1,2) | kick # $1 }
 
on !*:join:%dechan: {
  if (%op == ON) {
    mode # +o $nick
  }
  if (%op == OFF) {
    mode # +v $nick
  }
}
 
 
 
 
--------__---------------__-------------
-------------P------M-------------------
-------------P------M-------------------
-------------COMMANDS-------------------
----------------------------------------
 
 
 
on *:text:*:?: { if (!%flood) {
    set -u3 %flood 1
    if ($gettok($address($nick,2),2,64) isin %owners) {
      if ($1 == %sec.sign $+ setuser) {
        if ($2 $+ .users.quakenet.org !isin %owners) {
          set %owners %owners $2 $+ .users.quakenet.org | msg $nick %c 4Done.1 The User ( $+ $2 $+ .users.quakenet.org $+ ) Has Been Added. %c2
        }
        elseif ($2 $+ .users.quakenet.org isin %owners) {
          msg $nick %c 4Error!1 The User Already In The List %c2
        }
        if ($1 == %sec.sign $+ deluser) {
          if ($2 $+ .users.quakenet.org isin %owners) {
            set %owners $remtok(%owners,$2 $+ .users.quakenet.org,32) | msg $nick %c 4Done.1 The User ( $+ $2 $+ .users.quakenet.org $+ ) Has Been Deleted. %c2
          }
          elseif ($2 $+ .users.quakenet.org !isin %owners) {
            msg $nick %c 4Error!1 The User Wasn't Found In The List %c2
          }
        }
      }
    }
  }
}
 
on *:text:*:%dechan: { if (!%flood) {
    set -u3 %flood 1
    if ($1 == !credits) {
      msg # 1This bot was Created by xor1
    }
  }
  if ($gettok($address($nick,2),2,64) isin %owners) {
    if ($1- == !autop on) {
      set %op ON | msg # 4Autop 1is now ON
    }
    if ($1- == !autop off) {
      set %op OFF | msg # 4Autop 1is now OFF
    }
    if ($1 == !help) {
      msg $nick 1Commands are : "on channel" 4!credits 1= credits :] 4!help 1= !show commands.  4!autop on 1= give op to everyone who join %dechan . 4 !authop off 1= giving voice to people who join %dechan . 4!setchan 1=set the channel. 4!currect 1= shows the currect channel
      msg $nick 1Private massage commands: 4!setuser 1= Set a bot owner. 4!deluser 1= delete a owner from the bot.
    }
    if ($1 == !setchan) {
      set %dechan $2 | msg # Done. | msg $nick 4Done. 1channel has been set to $2
    }
  }
}
 
on *:text:*:?:{ if (!%flood) {
    set -u3 %flood 1
    if ($gettok($address($nick,2),2,64) isin %owners) && ($1 == !setchan) {
      set %dechan $2 | msg $nick 4Done 1The channel has been set to $2 | join $2
    }
    if ($gettok($address($nick,2),2,64) isin %owners) && ($1 == !settopic) {
      set %topic $2- | msg $nick 4Done. 1The topic has been changed to $2- | topic %dechan %topic
    }
  }
}
Admin
Admin
Admin

מספר הודעות : 269
Join date : 2009-09-12
Age : 44
מיקום : mIRCX IRC Network

https://mircx.forumotion.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum