Jump to content
Sign in to follow this  
chain

Protection

Recommended Posts

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    }  }}

  • Upvote 1

Share this post


Link to post
Share on other sites
 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

Copywrite © 2018 ChainScriptz

×
  • Create New...