| View previous topic :: View next topic |
| Author |
Message |
[R] Halfop

Joined: 30 Apr 2004 Posts: 98
|
Posted: Sun May 08, 2005 11:18 am Post subject: autolimit120.tcl |
|
|
| Code: | # This is a list of channels you want an auto-limit on. Multiple channels
# seperated by spaces.
set autolimit(chans) "#b.a.t.z"
# This is the base number to add to the total channel count for the new limit
set autolimit(base) 8
# This is the difference between the current limit and user count before
# a new limit is set.
set autolimit(diff) 5
# This is the timer, in minutes, between checks.
set autolimit(timer) 5 |
are those settings good?
My channel isnt big but sometimes the script dont sets the new limit
for example 25 people are there and the limit is 27 and it wont change.
can anyone explain why it sometimes wont work???
greetz & thanks
[R] |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun May 08, 2005 11:56 am Post subject: |
|
|
What you showed won't help us. Besides, there are alot of limit scripts why don't you try them until you find what you want. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
[R] Halfop

Joined: 30 Apr 2004 Posts: 98
|
Posted: Sun May 08, 2005 12:02 pm Post subject: |
|
|
lol sorry!
| Quote: |
# Script : AutoLimit v1.02 by David Proper (Dr. Nibble [DrN])
# Copyright 2002 Radical Computer Systems |
|
|
| Back to top |
|
 |
dotslasher Halfop

Joined: 10 Aug 2003 Posts: 62
|
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun May 08, 2005 9:34 pm Post subject: |
|
|
Here's a nice simple no fuss channel limiter (logical):
| Code: | ##
# Commands
##
#
# chanset <#channel> <+/->limit
# This enables (+) or disables (-) the channel limiter for the particular channel.
# Pre-set to number of users in channel + 6.
# Command console: Dcc
##
#########################################################################
##################### DO NOT EDIT BELOW THIS LINE!! #####################
#########################################################################
setudef flag limit
bind time - "* * * * *" time:ChanLimit
# time:ChanLimit start
proc time:ChanLimit {min hour day month year} {
foreach chan [channels] {
if {![channel get $chan limit]} {
continue
}
set newlimit [expr [llength [chanlist $chan]] + 5]
set currentlimit [currentlimit $chan]
if {$currentlimit < [expr $newlimit - 1] || $currentlimit > [expr $newlimit + 1]} {
putquick "mode $chan +l $newlimit"
}
}
}
# time:ChanLimit end
# currentlimit start
proc currentlimit {chan} {
set currentmodes [getchanmode $chan]
if {[string match "*l*" [lindex $currentmodes 0]]} {
return [lindex $currentmodes end]
}
return 0
}
# end currentlimit
putloglev o * "\002Loaded\017 Channel Limiter" |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
[R] Halfop

Joined: 30 Apr 2004 Posts: 98
|
Posted: Mon May 09, 2005 1:30 am Post subject: |
|
|
are they reliable?
big thx.
[R]
// Edit:
| Code: | # mc.limit_grace <number> Set this to the grace limit you would like to have
# on the particular channel. Here, let me try to
# explain grace limit: Let's say there are 25 users
# in the channel, and you have mc.limit_users
# setting set to 5, and the current limit in the
# channel 28. Should the script change the limit to
# 30 or be allowed the 2 user grace...
# The default for all channels is 0, witch means no
# grace for the particular channel. |
What should I set here?
I dont want that I cannot join the chan cause there is a limit *sry for bad eng* |
|
| Back to top |
|
 |
metroid Owner
Joined: 16 Jun 2004 Posts: 771
|
Posted: Mon May 09, 2005 1:36 am Post subject: |
|
|
Maybe you should try reading the info before you ask us these things..
Really, The last time you posted here you were also asking for things but you're just NOT willing to even bother to read what it says. |
|
| Back to top |
|
 |
[R] Halfop

Joined: 30 Apr 2004 Posts: 98
|
Posted: Mon May 09, 2005 1:53 am Post subject: |
|
|
I think i know what I should set there
... dont be angry - chill
| Quote: | | Maybe you should try reading |
 |
|
| Back to top |
|
 |
Galadhrim Op
Joined: 11 Apr 2003 Posts: 123 Location: Netherlands, Enschede
|
Posted: Mon May 09, 2005 3:03 am Post subject: |
|
|
R, your previous post already explains the variable  |
|
| Back to top |
|
 |
metroid Owner
Joined: 16 Jun 2004 Posts: 771
|
Posted: Mon May 09, 2005 3:07 am Post subject: |
|
|
| [R] wrote: | I think i know what I should set there
... dont be angry - chill
| Quote: | | Maybe you should try reading |
 |
You obviously never do try to read the description first |
|
| Back to top |
|
 |
|