It is currently 06 Sep 2010, 00:37

All times are UTC - 8 hours


Increase Web Traffic

 Page 1 of 1 [ 7 posts ] 
Author Message
 Post subject: Auto Kick if Chat nick gets clonned
PostPosted: 28 Oct 2009, 20:37 
User avatar

Joined: 26 Nov 2007, 21:00
Posts: 7
I'm hooking my friend up with a soul fly script in the next week I'm looking for an addon thingy that will auto kick original chat nick if they get cloned/ghosted with prison numbers script will kick original name out and they can refresh any ideas. One last thing in the kick message I want the script to say "You Have been clonned, You may now re-enter Chat with your original Chat name" Ok one more last thing :mrgreen: I want it to halt on Owners and hosts dont want a bot kick war

Thanks In Advance :smile:


Offline
 Profile Send private message  
 
 Post subject: Re: Auto Kick if Chat nick gets clonned
PostPosted: 29 Oct 2009, 15:17 
User avatar

Joined: 04 Nov 2007, 21:00
Posts: 246
I'm testing a script to do this right now. I'll post when I'm done.



_________________
    Image
    Image

    Image
Offline
 Profile Send private message  
 
 Post subject: Re: Auto Kick if Chat nick gets clonned
PostPosted: 29 Oct 2009, 16:25 
User avatar

Joined: 26 Nov 2007, 21:00
Posts: 7
Thanks Travis you are the best :smile: I think others will want this code addon for their rooms as well :D


Offline
 Profile Send private message  
 
 Post subject: Re: Auto Kick if Chat nick gets clonned
PostPosted: 31 Oct 2009, 11:56 
User avatar

Joined: 04 Nov 2007, 21:00
Posts: 246
Hello :-D ,

For this script to work, you will need the next version of SoulFly. Since I am just about to release it, I decided to devote my energy to it rather than finishing this script. As soon as SoulFly is released I will post the script here.

Sorry about that. SoulFly should be available this weekend. :-D



_________________
    Image
    Image

    Image
Offline
 Profile Send private message  
 
 Post subject: Re: Auto Kick if Chat nick gets clonned
PostPosted: 12 Nov 2009, 14:42 
User avatar

Joined: 04 Nov 2007, 21:00
Posts: 246
on @*:join:#:{
  if ($right($nick,4) !isnum) return
  if ($had($address,0) >= 2) {
    var %hd1 = $hn($had($address,1)), %hd2 = $hn($had($address,2))
    if (%hd1 ison #) && (%hd2 ison #) {
      kick # %hd1 Ghosting
      kick # %hd2 Ghosting
    }
  }
}


This is untested but should work. Kind of hard for me to test since Im not op in many rooms and my room, well, SoulFly doesn't have this issue with prison numbers.

Edit the word Ghosting to whatever kick message you like.

Let me know if you have any trouble.



_________________
    Image
    Image

    Image
Offline
 Profile Send private message  
 
 Post subject: Re: Auto Kick if Chat nick gets clonned
PostPosted: 12 Nov 2009, 15:10 
User avatar

Joined: 26 Nov 2007, 21:00
Posts: 7
OMG god bless you TRavis you sweet sexy man I will let you know how it does thanks :D :) :smile: :smile: :smile:


Offline
 Profile Send private message  
 
 Post subject: Re: Auto Kick if Chat nick gets clonned
PostPosted: 12 Nov 2009, 19:47 
User avatar

Joined: 04 Nov 2007, 21:00
Posts: 246
I made a mistake and fixed it. Updated code.



_________________
    Image
    Image

    Image
Offline
 Profile Send private message  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest

increase web traffic

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  

cron