Skip to content
MSN Addons

Clone protection

A TG007 community discussion started by bonTy.

Discussion 5 posts
Page 1 of 1
Open
Topic #3504 · 5 published posts · 725 views

Hey guys,

I am looking for a code to protect my team from cloning ..means..

I want to add all my team members to a list ..and if any one clone their nicks my script will kick them as a cloners ..don't clone my friend ..

Hope that was a good explanation!

on *:join:#:{
 if ($iscpnick($nick)) && ($address != $iscpnick($nick)) { access $chan add deny $address 1440 :no cloning | kick $chan $nick no cloning (24 hour ban) }
 else writeini cloneprot.ini protected $nick $address
}
menu nicklist {
 -
 Clone Protection
 .Add User:writeini cloneprot.ini protected $$1 $$ial($1).addr
 .Remove User:remini cloneprot.ini protected $$1
 -
}
alias iscpnick { return $readini(cloneprot.ini,protected,$1) }

 

put that in a new remote file, then go thru the users in your nicklist and add them all to the clone protection. it will also add anyone who joins the room automatically, if it hasn't seen their nick before.

 

i think.

Edited May 7, 2005 8:07 AM by vexation

bfush.PNG

vex, thanks for ur nice code but as I mentioned b4 I just wanted it for users I add not for all who joins my room , for me this file will be so huge , as I own 9 busy rooms 80+ in each imagine :| so can you please edit the code only for users I add. ?

I've a way to halt my friends .. I will post it here if you can

take this line and put it in a clone code will be thankfull if not u can go with ur way.

on ^@*:join:#: {
 if ($read(~script.trust.txt,s,$msngkshort($nick)) || ($nick == $me)) halt

this is the line

and this is how it looks like in the txt file

FDAA68C86D894F1C - BADER

0D3FC5A3CD5A2AD9 - warta`

81A4C24EE32D9525 - Markyy

 

on *:join:#:{
if ($read(~script.trust.txt,s,$msngkshort($nick))) || ($nick == $me) halt
if ($iscpnick($nick)) && ($address != $iscpnick($nick)) { access $chan add deny $address 1440 :no cloning | kick $chan $nick no cloning (24 hour ban) }
}
menu nicklist {
-
Clone Protection
.Add User:writeini cloneprot.ini protected $$1 $$ial($1).addr
.Remove User:remini cloneprot.ini protected $$1
-
}
alias iscpnick { return $readini(cloneprot.ini,protected,$1) }

 

try that

Edited May 8, 2005 2:41 AM by vexation

bfush.PNG

vex,

It works like a charm..thanks alot man..

I added a small parts in the code...echo part and a clonelist part , thanks alot man..

on @CloneList:join:*: {
 if ($me !isowner $chan) && ($me !isop $chan) { halt }
 access # add deny $address($nick,1)
 kick # $nick |[..: Clone()List :..]|
}
;;----
#clone on
on *:join:#:{
 if ($read(~script.trust.txt,s,$msngkshort($nick))) || ($nick == $me) halt
 if ($iscpnick($nick)) && ($address != $iscpnick($nick)) { access $chan add deny $address 1440 :no cloning | /auser CloneList $address($nick,1) | kick $chan $nick no cloning (24 hours ban) }
}
menu nicklist {
 -
 Clone Protection
 .Add User:writeini cloneprot.ini protected $$1 $$ial($1).addr | .echo -a -> Clone List: Added $$1 $remove($ial($$1),$$1,!) to clone list.
 .Remove User:remini cloneprot.ini protected $$1 | .echo -a -> Clone List: Removed $$1 $remove($ial($$1),$$1,!) from clone list.
 -
}
alias iscpnick { return $readini(cloneprot.ini,protected,$1) }
#clone end