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.

autolimit :)

Old posts that have not been replied to for several years.
Locked
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

autolimit :)

Post by [R] »

Heay

iam currently using
Script : AutoLimit v1.02 by David Proper (Dr. Nibble [DrN])
Copyright 2002 Radical Computer Systems

Sometimes the bot dont adds a new limit.
Whats wrong? And whats the best value for this:

Code: Select all

# This is the base number to add to the total channel count for the new limit
set autolimit(base) 10
Thx&Greets
User avatar
Stealthx
Halfop
Posts: 68
Joined: Fri Oct 01, 2004 3:37 am
Location: StealthBox

Post by Stealthx »

# 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) 10
Did you set right for this options?
+ Stealth Box +
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

[R] Are all your 81 posts only, "Please help me cause i'm too lazy to try and see why myself" ?

Try figuring it out yourself, It probally not hard.
User avatar
Stealthx
Halfop
Posts: 68
Joined: Fri Oct 01, 2004 3:37 am
Location: StealthBox

Post by Stealthx »

I've use this TCL before and it's work fine for me as in setting new limit to the channel... So I think most probably your setting to the TCl was abit doesn't suit your "thinking"? Check it again and I guess it would possibly works fine for you as well... :P
+ Stealth Box +
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

You may find the following easier to use. Limit is number of users in channel +5 and is automatically adjusted as users enter/leave.

Code: Select all

##########################################################################
# Binds                                                                  #
##########################################################################

bind time - "* * * * *" time:ChanLimit

##########################################################################
# time:ChanLimit start                                                   #
##########################################################################

proc time:ChanLimit {min hour day month year} {
    foreach chan [channels] {
	set newlimit [expr [llength [chanlist $chan]] + 6]
	set currentlimit [currentlimit $chan]
	if {$currentlimit < [expr $newlimit - 1] || $currentlimit > [expr $newlimit + 1]} {
	    putserv "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
}

##########################################################################
# currentlimit end                                                       #
##########################################################################

##########################################################################
# putlog                                                                 #
##########################################################################
 
putlog "Loaded ChanLimit (DLF)"
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

why re-invent the wheel?

try slennox channel limit script
found here. http://www.egghelp.org/mytcl.htm

i am running it on 7 bots for 8 months,
with no problems ...

you may also want to make this change in your
conf file " set wait-split 1 "


8)
I once was an intelligent young man, now i am old and i can not remember who i was.
User avatar
[R]
Halfop
Posts: 98
Joined: Fri Apr 30, 2004 12:05 pm

Post by [R] »

Hello,

Thx for all..
Maybe I try some autolimit scripts. :)
Great Forum :D


Thx&Greets

[R]
Locked