This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

autolimit120.tcl

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

autolimit120.tcl

Post by [R] »

Code: Select all

# 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]
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

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.
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

lol sorry!
# Script : AutoLimit v1.02 by David Proper (Dr. Nibble [DrN])
# Copyright 2002 Radical Computer Systems
User avatar
dotslasher
Halfop
Posts: 62
Joined: Sun Aug 10, 2003 8:10 pm

Post by dotslasher »

i use MC_8's limit script. Its really good.

http://mc.purehype.net/index.tcl?info=Limit
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Here's a nice simple no fuss channel limiter (logical):

Code: Select all

##
# 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
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

are they reliable?

big thx.

[R]

// Edit:

Code: Select all

#   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*
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

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.
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

I think i know what I should set there

... dont be angry - chill :wink:
Maybe you should try reading
:roll:
G
Galadhrim
Op
Posts: 123
Joined: Fri Apr 11, 2003 8:38 am
Location: Netherlands, Enschede

Post by Galadhrim »

R, your previous post already explains the variable :)
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

[R] wrote:I think i know what I should set there

... dont be angry - chill :wink:
Maybe you should try reading
:roll:
You obviously never do try to read the description first
Post Reply