MircX — File Browser

MircXv1.0 / MircXv1.0 / scripts / banprot.ini

banprot.ini — 1.12 KB — Download this file

[script]
n0=;==================================================
n1=Personal Ban Protection By CyBeR\\`eB.
n2=Load it by copying this file to your mirc dir and when mirc is open type : /load -rs banprot.ini
n3=website http://mircscriptaz.home.ml.org
n4=Plz maintain this header.
n5=;==================================================
n6=on 1:JOIN:#:{
n7=  if ($nick != $me) { halt }
n8=  .timer $+ banprot 1 5 banprot $chan
n9=}
n10=on 1:OP:#:{
n11=  if ($opnick != $me) { halt }
n12=  banprot $chan
n13=}
n14=on 1:SERVEROP:#:{
n15=  if ($opnick != $me) { halt }
n16=  banprot $chan
n17=}
n18=on 1:BAN:#:{
n19=  if ($nick == $me) { halt }
n20=  banprot $chan
n21=}
n22=#banprotect off
n23=raw 367:*:{ 
n24=  if ($3 iswm $address($me,5) || $3 == $me) {
n25=    mode $2 -b $3
n26=    msg $2 Auto Ban Protection 0,1[12H11ttp://www.xs4all.nl/~romeyn/mirc12X0]
n27=    halt
n28=  }
n29=  else { halt }
n30=}
n31=raw 368:*:{
n32=  .disable #banprotect
n33=  halt
n34=}
n35=#banprotect end
n36=alias banprot {
n37=  if ($me isop $1) { 
n38=    .enable #banprotect    
n39=    mode $1 b
n40=  }
n41=}