One Channel Ban

Do you have script in mind but no ability to make it, type in what it should do, and you might be lucky.

One Channel Ban

Postby jonlar » Wed Dec 10, 2008 10:59 am

Hi. I am looking for a script that bans ppl who are just in one channel. I have a free bnc request Channel and some of them join with a 2nd mirc to request more BNCs and this ppl i would like to ban out of the chan.
Good would be if they also get a kickmessage and maybe its also possible to whois them hwo long they are in quakenet.
Means if they are less then 10 mins and just in one chan they become baned.
Thanks for the Help
jonlar
 

Re: One Channel Ban

Postby Cristian » Wed Dec 10, 2008 9:26 pm

Hi there

I will try and put something together, just letting you know, that I have seen your request.
Cristian
proof of advance
proof of advance
 
Posts: 282
Joined: Sun Nov 04, 2007 3:02 pm
Location: Denmark
Authnick: Sumsar

Re: One Channel Ban

Postby jonlar » Thu Dec 11, 2008 3:59 pm

Muchas Gracias
jonlar
 

Re: One Channel Ban

Postby Cristian » Sun Dec 14, 2008 11:22 am

So jonlar, if you look under Tcl Release you will find this http://sp00fed.org/viewtopic.php?f=13&t=209

I hope it meets your requirements, if not, then contact me here, and we might figure something out.
Cristian
proof of advance
proof of advance
 
Posts: 282
Joined: Sun Nov 04, 2007 3:02 pm
Location: Denmark
Authnick: Sumsar

Re: One Channel Ban

Postby jonlar » Wed Dec 17, 2008 10:07 pm

Thank u so much for this.

-----------------
The one channel works great, however the time will not work. I left it as u scripted it - 600 secs. and turned all on

(OCB) One channel ban is (ON) - (NCU) Newly connected users is (ON) (OC) One channel users is (ON)

But it will not ban ppl if they are under 600 secs

my Test Script signed on 57secs ago = no Ban

.ocb NCU off and .ocb OC off is not working
and a different Prob. All my BNC will be banned now too. is it possible to let specific vhost go through? or maybe a different way to stop my BNCs from banning?

Thank u for helping
jonlar
 

Re: One Channel Ban

Postby Cristian » Thu Dec 18, 2008 4:56 am

I should be able to figure out a way to prevent banning of some hostmasks.

About the time, I can't say at this point, when I tested it, it worked, I will check it again, after adding the hostmask function.
Cristian
proof of advance
proof of advance
 
Posts: 282
Joined: Sun Nov 04, 2007 3:02 pm
Location: Denmark
Authnick: Sumsar

Re: One Channel Ban

Postby jonlar » Thu Dec 18, 2008 10:34 am

Thank you
jonlar
 

Re: One Channel Ban

Postby Cristian » Sat Dec 20, 2008 12:52 am

I have updated the script in the release section. http://sp00fed.org/viewtopic.php?f=13&t=209
Cristian
proof of advance
proof of advance
 
Posts: 282
Joined: Sun Nov 04, 2007 3:02 pm
Location: Denmark
Authnick: Sumsar

Re: One Channel Ban

Postby sKippah » Fri Jan 02, 2009 5:38 pm

Better to post here, before spaming ;)
I wanted to change the kickmsg
like
variable kickmsg1 "You doesn´t meet our Requirements - Only [llength $channels] joined"
variable kickmsg2 "You doesn´t meet the Requirements - Under [duration [expr [unixtime] - $signontime]] on [lindex [split $::server .] 2]"


but that seems not working.

to the bantime. Maybe you could ad
variable bantime <time>

Thank you
sKippah
 

Re: One Channel Ban

Postby Cristian » Sat Jan 03, 2009 1:09 am

You can't do it like that, you have to replace the $::ocb::variable::kicmsg1 and $::ocb::variable::kickmsg2 in the script.
Cristian
proof of advance
proof of advance
 
Posts: 282
Joined: Sun Nov 04, 2007 3:02 pm
Location: Denmark
Authnick: Sumsar

Next

Return to TCL Scripting Request

Who is online

Users browsing this forum: No registered users and 0 guests

cron