# +----------------------------------------------------------------------+ # | Protection Script for #team-noChance | # | Author: Roman "Inematov" Neeser | inematov@team-noChance.org | # | (C) 2004-2005 | # +----------------------------------------------------------------------+ # | Use -help for more Information | # +----------------------------------------------------------------------+ on *:LOAD:{ echo -a ------| Protect script by Inematov for #team-noChance |------------ echo -a ------| version 2.2 |---------------------------------------------- echo -a ------| Don`t change anything |----| -help for commands ----------- echo -a ------| Contact me |---| #team-noChance on QNet | 148043593 on ICQ- echo -a ------| inematov@team-noChance.org |-| ineamtov@passport.com on MSN- } on *:START:{ echo -a ------| Loaded MSL protection |----------- echo -a ---------| by Inematov |------------------ echo -a ----------| for #team-noChance |---------- } on *:CONNECT:{ .timteradver 1 86400 amsg 1,0[7,0ø1,0]1,0 This Bot is Scripted by Inematov for #team-noChance .:. Visit: www.team-noChance.org 1,0[7,0ø1,0] } # +----------------------------------------------------------------------+ # | //Start of UserScript | # +----------------------------------------------------------------------+ on *:text:$addowner *:#: { if ($readini(user.ini,Global,$address($nick,1)) == 1000) { if ($readini(user.ini,Global,$address($2,1)) == $null) && ($2 != $me) { writeini user.ini Global $address($2,1) 1000 notice $2 You were added with the hostmask ( $address($2,1)) ) as Global-Owner. notice $nick $2 with the hostmask ( $address($2,1) ) added as Global-Owner. } else { notice $nick $2 is already added as Global-Owner. } } } on *:text:$delowner *:#: { if ($readini(user.ini,Global,$address($nick,1)) == 1000) { if ($readini(user.ini,Global,$address($2,1)) == 1000) && ($2 != $me) { remini user.ini Global $address($2,1) 1000 notice $nick $2 was removed from the Global-Owner List. } else { notice $nick $2 isn't added as Global-Owner. } } } on *:text:$addmaster *:#: { if ($readini(user.ini,Global,$address($nick,1)) == 1000) { if ($readini(user.ini,Global,$address($2,1) != 500)) && ($2 != $me) { writeini user.ini Global $address($2,1)) 500 notice $2 You were added with the hostmask ( $address($2,1)) ) as Global-Master. notice $nick $2 with the hostmask ( $address($2,1) ) as Global-Master added. } else { notice $nick $2 is already added as Global-Master. } } } on *:text:$delmaster *:#: { if ($readini(user.ini,Global,$address($nick,1)) == 1000) { if ($readini(user.ini,Global,$address($2,1)) == 500) && ($2 != $me) { remini user.ini Global $address($2,1) notice $nick $2 was removed from the Global-Master List. } else { notice $nick $2 isn't added as Global-Master. } } } # +----------------+ # | Channel Rights | # +----------------+ on *:text:-addowner *:#: { if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,Global,$address($nick,1)) == 100) { if ($readini(user.ini,$chan,$address($2,1)) == $null) && ($2 != $me) { writeini user.ini $chan $address($2,1) 1000 notice $2 You were added as Owner with the hostmask ( $address($2,1)) ) on $chan $+ . notice $nick $2 was added with the hostmask ( $address($2,1) ) as Owner on $chan $+ . } else { notice $nick $2 is already added as Owner for $chan $+ . } } } on *:text:-delowner *:#: { if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,Global,$address($nick,1)) == 100) { if ($readini(user.ini,$chan,$address($2,1)) == 1000) && ($2 != $me) { remini user.ini $chan $address($2,1) 1000 notice $nick $2 was removed from the $chan Owner list. } else { notice $nick $2 isn't added on $chan $+ . } } } on *:text:-addstaff *:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) { writeini user.ini Global $address($2,1) 999 notice $nick $2 was added with the hostmask ( $address($2,1) ) as Staff/Supporter. } } on *:text:-addmaster *:#: { if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) { if ($readini(user.ini,$chan,$address($2,1) != 500)) && ($2 != $me) { writeini user.ini $chan $address($2,1)) 500 notice $2 You were added as Master with the hostmask ( $address($2,1)) ) on $chan notice $nick $2 was added with the hostmask ( $address($2,1) ) as Master on $chan $+ . } else { notice $nick $2 is already added as Master for $chan $+ . } } } on *:text:-addmember *:#: { if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) { if ($readini(user.ini,$chan,$address($2,1) != 50)) && ($2 != $me) { writeini user.ini $chan $address($2,1)) 50 notice $2 You were added as Member with the hostmask ( $address($2,1)) ) on $chan notice $nick $2 was added with the hostmask ( $address($2,1) ) as Member on $chan $+ . } else { notice $nick $2 is already added as Member for $chan $+ . } } } on *:text:-whois*:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) || ($readini(user.ini,Global,$address($nick,1)) == 999) || ($readini(user.ini,Global,$address($nick,1)) == 500) { if ($readini(user.ini,Global,$address($2,1)) == 999) { notice $nick The User $2 is registred as $address($2,1) Channel Rights: none - Global Level: Staff/Support | return } if ($readini(user.ini,Global,$address($2,1)) == 1000) && ($readini(user.ini,$chan,$address($2,1)) == 1000) { notice $nick The User $2 is registred as $address($2,1) Channel Rights: Owner - Global Level: Bot-Owner | return } if ($readini(user.ini,Global,$address($2,1)) == 1000) && ($readini(user.ini,$chan,$address($2,1)) == 500) { notice $nick The User $2 is registred as $address($2,1) Channel Rights: Master - Global Level: Bot-Owner | return } if ($readini(user.ini,Global,$address($2,1)) == 500) && ($readini(user.ini,$chan,$address($2,1)) == 1000) { notice $nick The User $2 is registred as $address($2,1) Channel Rights: Owner - Global Level: Bot-Master | return } if ($readini(user.ini,Global,$address($2,1)) == 500) && ($readini(user.ini,$chan,$address($2,1)) == 500) { notice $nick The User $2 is registred as $address($2,1) Channel Rights: Master - Global Level: Bot-Master | return } if ($readini(user.ini,Global,$address($2,1)) == 1000) { notice $nick The User $2 is registred as $address($2,1) Channel Rights: none - Global Level: Bot-Owner | return } if ($readini(user.ini,Global,$address($2,1)) == 500) { notice $nick The User $2 is registred as $address($2,1) Channel Rights: none - Global Level: Bot-Master | return } if ($readini(user.ini,$chan,$address($2,1)) == 1000) { notice $nick The User $2 is registred as $address($2,1) Channel Rights: Owner - Global Level: none | return } if ($readini(user.ini,$chan,$address($2,1)) == 500) { notice $nick The User $2 is registred as $address($2,1) Channel Rights: Master - Global Level: none | return } if ($readini(user.ini,Service,$address($2,1)) == Service) { notice $nick The User $2 is registred as $address($2,1) Channel Rights: ChannelService - Global Level: ChannelService | return } else { notice $nick Who on Earth is that? } } } on *:text:-delmaster *:#: { if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) { if ($readini(user.ini,$chan,$address($2,1)) == 500) && ($2 != $me) { remini user.ini $chan $address($2,1) notice $nick $2 was removed from the $chan Master list. } else { notice $nick $2 isn't added on $chan $+ . } } } on *:text:-addservice*:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) { writeini user.ini Service $address($2,1) Service notice $nick Done. $2 was added to the Service-List. } } on *:text:-addm**:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) { writeini user.ini $2 $address($3,1) 500 notice $nick $3 with the hostmask $address($3,1) was added to the Master list from $2 $+ . } } on *:text:-help:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) { notice $nick %design.start Commandname - Information or help for the Command %design.end notice $nick %design.start $addowner (Adds Global-Owner Rights) %design.end .timer.fb.1 1 1 notice $nick %design.start $delowner (Deletes Global-Owner Rights) %design.end .timer.fb.2 1 2 notice $nick %design.start $addmaster (Adds Global-Master Rights) %design.end .timer.fb.3 1 3 notice $nick %design.start $delmaster (Deletes Global-Master Rights) %design.end .timer.fb.4 1 4 notice $nick %design.start -addowner (Adds Owner Channel-Rights) %design.end .timer.fb.5 1 5 notice $nick %design.start -delowner (Deletes Owner Channel-Rights) %design.end .timer.fb.6 1 6 notice $nick %design.start -addmaster (Adds Master Channel-Rights) %design.end .timer.fb.7 1 7 notice $nick %design.start -delmaster (Deletes Master Channel Rights) %design.end .timer.fb.8 1 8 notice $nick %design.start -addservice (Adds a ServiceBot) %design.end .timer.fb.9 1 9 notice $nick %design.start -whois (Shows the User Rights) / !help for the Protection-Help %design.end } } on *:text:-delhost*:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) { remini user.ini $chan $2 remini user.ini Global $2 notice $nick Deleted $2 from the Userlist. (Global/ $+ $chan $+ ) } } # +----------------------------------------------------------------------+ # | //End of UserScript | # +----------------------------------------------------------------------+ # +----------------------------------------------------------------------+ # | //Start of Protection | # +----------------------------------------------------------------------+ on *:TEXT:-addprotect*:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) && ($readini(user.ini,$chan,protect == 1)) { notice $nick 1,0:[ Protect already enabled in12,0 $chan 1,0]: } if ($readini(user.ini,$chan,protect == 0)) { notice $nick 1,0:[ Protect enabled in12,0 $chan 1,0]: | writeini user.ini $chan protect 1 } } on *:TEXT:-delprotect*:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) && ($readini(user.ini,$chan,protect == 0)) { notice $nick 1,0:[ Protect already disabled in12,0 $chan 1,0]: } if ($readini(user.ini,$chan,protect == 1)) { notice $nick 1,0:[ Protect disabled in12,0 $chan 1,0]: | writeini user.ini $chan protect 0 } } on *:BAN:#:{ if ($readini(user.ini,$chan,protect == 1)) { if ($nick != $me) && ($nick != $service($chan)) && (. !isin $nick) { if ($readini(user.ini,Global,$address($nick,1)) != 1000) && ($readini(user.ini,Global,$address($nick,1)) != 500) && ($readini(user.ini,$chan,$address($nick,1)) != 1000) && ($readini(user.ini,$chan,$address($nick,1)) != 500) && ($address($nick,3) != $iif(Q ison $chan,Q,L)) { if ($bnick != $me) { if (%spamcheck != $nick) { msg $service($chan) chanlev $chan $nick -ao | set -u5 %spamcheck $nick } mode $chan -o-b+b $nick $banmask $rbanmask($nick) .timer.msg off .timer.msg 1 2 msg $chan :( Dont ban $nick ):( This channel is protectet by #team-noChance ): } else { msg $service($chan) unbanall $chan if (%spamcheck != $nick) { msg $service($chan) chanlev $chan $nick -ao | set -u5 %spamcheck $nick } msg $service($chan) invite $chan msg $service($chan) recover $chan .timer.op 1 1 msg $service($chan) op $chan .timer.ban 1 2 mode $chan +b $rbanmask($nick) .timer.msg off .timer.msg 1 3 msg $chan :( Dont ban me $nick ):( This channel is protectet ): } } } } } on *:UNBAN:#:{ if ($readini(user.ini,$chan,protect == 1)) { if ($nick != $me) && ($nick != $service($chan)) && (. !isin $nick) { if ($readini(user.ini,Global,$address($nick,1)) != 1000) && ($readini(user.ini,Global,$address($nick,1)) != 500) && ($readini(user.ini,$chan,$address($nick,1)) != 1000) && ($readini(user.ini,$chan,$address($nick,1)) != 500) && ($address($nick,3) != $iif(Q ison $chan,Q,L)) { if ($bnick != $me) { mode $chan +b-o $banmask $nick .timer.msg off .timer.msg 1 2 msg $chan :( Dont unban $nick ):( This channel is protectet by #team-noChance ): } } } } } on *:OP:#:{ if ($readini(user.ini,$chan,protect == 1)) { if ($nick != $me) && ($nick != $service($chan)) && (. !isin $nick) { if ($readini(user.ini,Global,$address($nick,1)) != 1000) && ($readini(user.ini,Global,$address($nick,1)) != 500) && ($readini(user.ini,$chan,$address($nick,1)) != 1000) && ($readini(user.ini,$chan,$address($nick,1)) != 500) && ($address($nick,3) != $iif(Q ison $chan,Q,L)) { if (($nick != $service($chan)) && (. !iswm $nick)) { if ($opnick != $me) { mode $chan -oo+b $opnick $nick $rbanmask($nick) if (%spamcheck != $nick) { msg $service($chan) chanlev $chan $nick -ao | set -u5 %spamcheck $nick } .timer.msg off .timer.msg 1 2 msg $chan :( Dont op $nick ):( This channel is protectet by #team-noChance ): } } } } } } on *:DEOP:#:{ if ($readini(user.ini,$chan,protect == 1)) { if ($nick != $me) && ($nick != $service($chan)) && (. !isin $nick) { if ($readini(user.ini,Global,$address($nick,1)) != 1000) && ($readini(user.ini,Global,$address($nick,1)) != 500) && ($readini(user.ini,$chan,$address($nick,1)) != 1000) && ($readini(user.ini,$chan,$address($nick,1)) != 500) && ($address($nick,3) != $iif(Q ison $chan,Q,L)) { if (($nick != $service($chan)) && (. !iswm $nick)) { if ($opnick != $me) { mode $chan +o-o+b $opnick $nick $rbanmask($nick) if (%spamcheck != $nick) { msg $service($chan) chanlev $chan $nick -ao | set -u5 %spamcheck $nick } .timer.msg off .timer.msg 1 2 msg $chan :( Dont deop $nick ):( This channel is protectet ): } else { msg $service($chan) op $chan if (%spamcheck != $nick) { msg $service($chan) chanlev $chan $nick -ao | set -u5 %spamcheck $nick } mode $chan -o+b $nick $rbanmask($nick) .timer.msg off .timer.msg 1 2 msg $chan :( Dont deop me $nick ):( This channel is protectet by #team-noChance ): } } } } } } on *:KICK:#:{ if ($readini(user.ini,$chan,protect == 1)) { if ($nick != $me) && ($nick != $service($chan)) && (. !isin $nick) { if ($readini(user.ini,Global,$address($nick,1)) != 1000) && ($readini(user.ini,Global,$address($nick,1)) != 500) && ($readini(user.ini,$chan,$address($nick,1)) != 1000) && ($readini(user.ini,$chan,$address($nick,1)) != 500) && ($address($nick,3) != $iif(Q ison $chan,Q,L)) { if (($nick != $service($chan)) && (. !iswm $nick)) { if ($knick != $me) { mode $chan -o+b $nick $rbanmask($nick) if (%spamcheck != $nick) { msg $service($chan) chanlev $chan $nick -ao | set -u5 %spamcheck $nick } msg $chan :( Dont kick $nick ):( This channel is protectet by #team-noChance ): invite $knick $chan } else { msg $service($chan) recover $chan msg $service($chan) invite $chan join $chan msg $service($chan) op $chan .timer.deop 1 1 mode $chan -o+b $nick $rbanmask($nick) if (%spamcheck != $nick) { msg $service($chan) chanlev $chan $nick -ao | set -u5 %spamcheck $nick } .timer.msg off .timer.msg 1 2 msg $chan :( Dont kick me $nick ):( This channel is protectet ): } } } } } } on *:MODE:#:{ if ($readini(user.ini,$chan,protect == 1)) { if ($nick != $me) && ($nick != $service($chan)) && (. !isin $nick) { if ($readini(user.ini,Global,$address($nick,1)) != 1000) && ($readini(user.ini,Global,$address($nick,1)) != 500) && ($readini(user.ini,$chan,$address($nick,1)) != 1000) && ($readini(user.ini,$chan,$address($nick,1)) != 500) && ($address($nick,3) != $iif(Q ison $chan,Q,L)) { if (($nick != $service($chan)) && (. !iswm $nick)) { mode $chan -o $nick if (%spamcheck != $nick) { msg $service($chan) chanlev $chan $nick -ao | set -u5 %spamcheck $nick } mode $chan +b $rbanmask($nick) if (k isin $1-) { msg $service($chan) clearchan $chan } elseif (l isin $1-) { mode $chan $replace($1,+,-,-,+) $2 } else { mode $chan $replace($1,+,-,-,+) } .timer.msg off .timer.msg 1 2 msg $chan :( Dont change modes $nick ):( This channel is protectet by #team-noChance ): } } } } } on *:TOPIC:#:{ if ($nick != $me) { if ($readini(user.ini,$chan,protect == 1)) { if ($readini(user.ini,Global,$address($nick,1)) != 1000) && ($readini(user.ini,Global,$address($nick,1)) != 500) && ($readini(user.ini,$chan,$address($nick,1)) != 1000) && ($readini(user.ini,$chan,$address($nick,1)) != 500) && ($address($nick,3) != $iif(Q ison $chan,Q,L)) { mode $chan -o $nick topic $chan %topic. [ $+ [ $chan ] ] notice $nick :[ Don`t change the Topic $nick ]:::[ You don`t have the Permission to do that ]: msg $chan 1,0:[12,0 Topic is protectet ]:::[ Only User who has the n or m Flag can change it 1,0]:::[ by 12,0#1team-noChance ]: } } } } on *:TEXT:-savetopic:#: { if ($readini(user.ini,Global,$address($nick,1)) == 1000) { set %topic. [ $+ [ $chan ] ] $chan($chan).topic notice $nick %design.start Done, saved the topic. %design.end } } on *:text:-loadtopic:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) { if (Q ison $chan) { msg Q settopic $chan %topic. [ $+ [ $chan ] ] notice $nick %design.start Done %design.end } if (L ison $chan) { topic $chan %topic. [ $+ [ $chan ] ] notice $nick %design.start Done %design.end } } } ¨ on *:TEXT:-kick *:#:{ if ($readini(user.ini,$chan,protect == 1)) { if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,Global,$address($nick,1)) == 500) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 500) { if ($3 == 1) kick $chan $2 1,0:[12,0 You are Violating Chan-Rules - Kicked1,0 ]:::[ by 12,0#1team-noChance ]: if ($3 == 2) kick $chan $2 1,0:[12,0 Kicked Reason: Flood/Repeat1,0 ]:::[ by 12,0#1team-noChance ]: if ($3 == 3) kick $chan $2 1,0:[12,0 Just a Lamer - Kicked!1,0 ]:::[ by 12,0#1team-noChance ]: if ($3 != 1) && ($3 != 2) && ($3 != 3) kick $chan $2 1,0:[12,0 $3- 1,0]:::[ by 12,0#1team-noChance ]: notice $nick :[ Done. ]: } } } on *:TEXT:-kb *:#:{ if ($readini(user.ini,$chan,protect == 1)) { if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,Global,$address($nick,1)) == 500) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 500) { ban -u3600 $chan $address($nick,3) if ($3 == 1) kick $chan $2 1,0:[12,0 You are Violating Chan-Rules - Kicked1,0 ]:::[ by 12,0#1team-noChance ]: if ($3 == 2) kick $chan $2 1,0:[12,0 Kicked Reason: Flood/Repeat1,0 ]:::[ by 12,0#1team-noChance ]: if ($3 == 3) kick $chan $2 1,0:[12,0 Just a Lamer - Kicked!1,0 ]:::[ by 12,0#1team-noChance ]: if ($3 != 1) && ($3 != 2) && ($3 != 3) kick $chan $2 1,0:[12,0 $3- 1,0]:::[ by 12,0#1team-noChance ]: notice $nick :[ Done. ]: } } } on *:TEXT:-unbanall:#:{ if ($readini(user.ini,$chan,protect == 1)) { if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,Global,$address($nick,1)) == 500) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 500) { var %x = $ibl($chan,0) while (%x > 0) { if ($numtok(%unban,32) < 6) { mode $chan -b $ibl($chan,%x) dec %x } } } } } on *:TEXT:-unban *:#:{ if ($readini(user.ini,$chan,protect == 1)) { if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,Global,$address($nick,1)) == 500) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 500) { mode $chan -b $2 } } } alias modewm { var %i = 1 var -s %wm = $iif($1 ischan,$3,$2),%chan = $iif($1 ischan,$1,$active),%mode = $iif($1 ischan,$2,$3),%check = $iif(%mode == +o,!isop,$iif(%mode == -o,isop,$iif(%mode == +v,!isvoice,isvoice))) while (%i <= $nick(%chan,0)) { if (%wm iswm $nick(%chan,%i)) && ($nick(%chan,%i) %check %chan) && ($nick(%chan,%i) != $me) { var %modewm = $addtok(%modewm,$nick(%chan,%i),32) } if ($numtok(%modewm,32) == $modespl) || (%i == $nick(%chan,0)) { mode %chan $+($left(%mode,1),$str($right(%mode,1),$numtok(%modewm,32))) %modewm | unset %modewm } inc %i } } on *:text:-op*:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 500) || ($readini(user.ini,Global,$address($nick,1)) == 500) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 500) { if ($2 == $null) { mode $chan +o $nick } /modewm $chan +o $2- } } on *:text:-voice*:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 500) || ($readini(user.ini,Global,$address($nick,1)) == 500) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 500) { if ($2 == $null) { mode $chan +v $nick } /modewm $chan +v $2- } } on *:text:-deop*:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,Global,$address($nick,1)) == 500) || ($readini(user.ini,$chan,$address($nick,1)) == 500) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 500) { if ($2 == $null) { mode $chan -o $nick } /modewm $chan -o $2- } } on *:text:-devoice*:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 500) || ($readini(user.ini,Global,$address($nick,1)) == 500) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 500) { if ($2 == $null) { mode $chan -v $nick } /modewm $chan -v $2- } } on *:TEXT:-opme:#:{ if ($readini(user.ini,$chan,protect == 1)) { if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,Global,$address($nick,1)) == 500) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 500) { mode $chan +o $nick notice $nick :[ Done. ]: } } } on *:JOIN:#:{ if ($readini(user.ini,$chan,protect == 1)) { if ($readini(user.ini,Global,$address($nick,1)) == 1000) || ($readini(user.ini,Global,$address($nick,1)) == 500) || ($readini(user.ini,$chan,$address($nick,1)) == 1000) || ($readini(user.ini,$chan,$address($nick,1)) == 500) || ($readini(user.ini,$chan,$address($nick,1)) == 50) { mode $chan +o $nick } } if ($readini(user.ini,Global,$address($nick,1)) == 1000) { msg $chan ]: The BotOwner $nick joined The Chan :[ } } on *:TEXT:-auth:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) { msg Q@CServe.quakenet.org AUTH Team-noChance nocpowerwodka .timer 1 2 /mode $me +x } } on *:TEXT:!help:#:{ if ($readini(user.ini,Global,$address($nick,1)) == 1000) { .timerhelp 1 1 notice $nick ]: To Auth me type: -auth :[ .timerhelp 1 2 notice $nick ]: -addprotece / -delprotect De/Activate the Protection :[ .timerhelp 1 3 notice $nick ]: -op / -deop / -voice / -devoice :[ .timerhelp 1 4 notice $nick ]: -op * / -deop * / -voice * / -devoice * --> for Mass-Modes :[ .timerhelp 1 5 notice $nick ]: -kick / -kb (KickBan) :[ .timerhelp 1 6 notice $nick ]: -help for the UserLevel Help :[ } } # +----------------------------------------------------------------------+ # | //End of Protection | # +----------------------------------------------------------------------+