Easy Ban Protection — File Browser
EasyBanProtectionv1.4 / EasyBanProtectionv1.4 / banprot14.mrc
banprot14.mrc — 2.99 KB — Download this file
on *:load: {
echo -a 9>>> 12 Easy Ban Protection v1.4 successfully loaded..
echo -a 9>>> 12 Modified on: 21.02 - 2003
echo -a 9>>> 12 Author: |Red_Bu|| (ole@team-future.com or www.killerscriptet.cjb.net)
echo -a 9>>> 12 UPDATED: This addon will not just remove the ban and deop the person who tried to deop you!
echo -a 9>>> 12 it will also send him a message you can modify, and it now protects every channels you are in!
echo -a 9>>> 12 I hope you will enjoy this addon! :)
set %easybanprot.msg Please set your own Message!
}
alias banprot { dialog -m easybanprot easybanprot }
dialog easybanprot {
title "Easy Ban Protection v1.4"
size -1 -1 98 58
option dbu
box "ON/OFF:", 1, 3 0 59 22
radio "ON", 2, 8 8 23 10, push group
radio "OFF", 3, 35 8 23 10, push
box "Status:", 4, 65 0 29 22
edit "", 5, 69 7 21 11, read center
box "Ban Protection Message:", 6, 3 23 91 22
edit "", 7, 6 30 85 11, autohs
button "Close", 8, 71 47 26 10, cancel
button "Help", 9, 43 47 26 10
}
on *:dialog:easybanprot:init:*: {
did -a easybanprot 5 - %easybanprot.status
did -a easybanprot 7 %easybanprot.msg
if (%easybanprot.status == on) { did -c easybanprot 2 }
elseif (%easybanprot.status == off) { did -c easybanprot 3 }
}
on *:dialog:easybanprot:sclick:*: {
if ($did == 2) { set %easybanprot.status ON | .enable #protection }
if ($did == 3) { set %easybanprot.status OFF | .disable #protection }
if ($did == 7) { set %easybanprot.msg | echo -a 9>>> 12You have set: %easybanprot.msg as your Ban Protection Message! }
if ($did == 9) { dialog -m easybanprothelp easybanprothelp }
}
on *:dialog:easybanprot:edit:*: {
if ($did == 7) { .set %easybanprot.msg $did(7) }
}
#protection on
on *:ban:#: {
if (%easybanprot.status == ON) {
if ($nick == $me) { return }
if ($banmask iswm $address($me,5)) { msg $nick %easybanprot.msg | mode $chan -b $banmask | mode $chan -o $nick }
elseif (%easybanprot == OFF) { halt }
}
}
#protection end
Menu channel,status,menubar {
Easy Ban Protection:/banprot
}
dialog easybanprothelp {
title "Easy Ban Protection Help"
size -1 -1 87 139
option dbu
edit "Hopefull this will help you to get protected! 1. Write the Ban Protection Message (this message will be sent to the person who tried to ban you) 2. Enable the Ban Protection by klicking the ON button. Thats it! You are done! Now it will Remove the ban on YOU, and it will deop the person who tried to ban you, and he will recive the Ban Protection Message! Enjoy!", 1, 3 11 81 96, read multi
link "Easy Ban Protection Help:", 2, 11 3 64 8
link "Bugs/errors report them here!", 3, 6 108 74 8
text "Easy Ban Protection v1.4", 4, 1 118 63 8, disable
text "by: |Red_Bu||", 5, 1 128 35 8, disable
button "Close", 6, 56 128 30 10, cancel
}
on *:dialog:easybanprothelp:sclick:*: {
run mailto:ole@team-future.com
}
;=> scripted on Friday 21.02 - 2003
;=> Enjoy!