Sign in to follow this  
chain

Protection

What this will do will add a protection folder to your registry, and add the full address of any user you wish to protect to the registry as well. Anyone who is on your protection list will have protection, and can call for the room pass to host up. Anyone who isn't in your protect list will remain unprotected, and willnot be able to get the pass. It also acts as a sleeper. By: Warrior124

 

 

>menu nicklist {  -  Protection Setup  .Protect User $1 {     comopen reg WScript.Shell    var %b = $com(reg,RegWrite,1,string,HKEY_CURRENT_USER\SOFTWARE\Microsoft\MSNChat\4.0\Protect\\ $+ $ial($1) $+ ,string, $+ $ial($1,1))    comclose reg    }  .-  .Set Sleeper Pass {    set %sleeperpass $?*="Enter Owner Password"    if ($me isowner $chan) { mode $chan -o $me }    }  .-}  on ^*:JOIN:#:{  if ($nick == $me) && (%kill) {    mode $chan +b $ial( $+ %kill $+ ,1) 5    kick $chan %kill [Banned 5 minutes. Please don't kick protected host.]    unset %kill}  if ($nick == $me) && ($me isowner $chan) && (!$msn.registry(HKEY_CURRENT_USER\SOFTWARE\Microsoft\MSNChat\4.0\Protect\\ $+ $ial($me,1))) {    comopen reg WScript.Shell    var %b = $com(reg,RegWrite,1,string,HKEY_CURRENT_USER\SOFTWARE\Microsoft\MSNChat\4.0\Protect\\ $+ $ial($me) $+ ,string,$ial($me,1))    comclose reg    mode $chan -o $me}  if ($nick == $me) && ($me isowner $chan) && ($msn.registry(HKEY_CURRENT_USER\SOFTWARE\Microsoft\MSNChat\4.0\Protect\\ $+ $ial($me,1))) {    mode $chan -o $me  }}on ^*:TEXT:!givepass:*:{  if ($msn.registry(HKEY_CURRENT_USER\SOFTWARE\Microsoft\MSNChat\4.0\Protect\\ $+ $ial($nick))) && (%sleeperpass) {    msg $nick !Sleeperpass %sleeperpass  }  if ($msn.registry(HKEY_CURRENT_USER\SOFTWARE\Microsoft\MSNChat\4.0\Protect\\ $+ $ial($nick))) && (!%sleeperpass) {    msg $nick Sorry, $nick $+ , but the Sleeper Password doesn't exist, yet.  }  if (!$msn.registry(HKEY_CURRENT_USER\SOFTWARE\Microsoft\MSNChat\4.0\Protect\\ $+ $ial($nick))) {    msg $nick Sorry, $nick $+ , but you aren't on my protect list.}on ^*:TEXT:!Sleeperpass*:*:{   if ($msn.registry(HKEY_CURRENT_USER\SOFTWARE\Microsoft\MSNChat\4.0\Protect\\ $+ $ial($nick,1))) {    set %sleeperpass $2  }}on ^*:KICK:#:{   if ($opnick != $me) && ($knick != $me) && ($msn.registry(HKEY_CURRENT_USER\SOFTWARE\Microsoft\MSNChat\4.0\Protect\\ $+ $ial($knick))) {    if ($network == MSN) {      mode $me +h %sleeperpass      access $chan clear deny      access $chan add deny $ial($nick,1) 5      kick $chan $nick [Banned 5 minutes. Please don't kick protected host]      mode $chan -o $me    }    if ($network != MSN) {       set %kill $opnick      hop    }  }}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this