Top

Exempt Lock


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Nov 17, 2008
Last Updated  Nov 17, 2008
Tags  lock 

Introduction

This will keep you on the +e (except) list so people cannot undo your +e and ban you.
usage: /elock activates the script.
usage: /except sets your name and host to the +e list.
This also kicks people when they undo your +e, so don't use this where your aren't supposed to have +e.

Grab the Code

alias elock { if ($group(#elock) == off) { .enable #elock | echo -a Elock activated. }
  else { .disable #elock | echo -a Elock deactivated. }
}
#elock off
on *:RAWMODE:*: { if ($nick == $me) { HALT }
  if ($1 == -e) && ($remove($2,!*@*) == $me) { kick $chan $nick | /mode $chan +e $me }
  elseif ($1 == -e) && ($remove($2,!*@*) == $address($me,2)) { kick $chan $nick | /mode $chan +e $address($me,2) }
}
#elock end
alias except { mode $chan +ee $me $address($me,2) }
 

Comments

  (1)  RSS
DarkTan
Comments: 2
 
mIRC Snippet:  Exempt Lock
Posted on Jan 24, 2009 8:56 pm
is there a way to integrate this in to a bot with a user list in .ini format?

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom