egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

autolimit120.tcl

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
[R]
Halfop


Joined: 30 Apr 2004
Posts: 98

PostPosted: Sun May 08, 2005 11:18 am    Post subject: autolimit120.tcl Reply with quote

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
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun May 08, 2005 11:56 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
[R]
Halfop


Joined: 30 Apr 2004
Posts: 98

PostPosted: Sun May 08, 2005 12:02 pm    Post subject: Reply with quote

lol sorry!
Quote:

# Script : AutoLimit v1.02 by David Proper (Dr. Nibble [DrN])
# Copyright 2002 Radical Computer Systems
Back to top
View user's profile Send private message
dotslasher
Halfop


Joined: 10 Aug 2003
Posts: 62

PostPosted: Sun May 08, 2005 2:31 pm    Post subject: Reply with quote

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

http://mc.purehype.net/index.tcl?info=Limit
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun May 08, 2005 9:34 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
[R]
Halfop


Joined: 30 Apr 2004
Posts: 98

PostPosted: Mon May 09, 2005 1:30 am    Post subject: Reply with quote

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 Neutral *sry for bad eng*
Back to top
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Mon May 09, 2005 1:36 am    Post subject: Reply with quote

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
View user's profile Send private message
[R]
Halfop


Joined: 30 Apr 2004
Posts: 98

PostPosted: Mon May 09, 2005 1:53 am    Post subject: Reply with quote

I think i know what I should set there

... dont be angry - chill Wink

Quote:
Maybe you should try reading


Rolling Eyes
Back to top
View user's profile Send private message
Galadhrim
Op


Joined: 11 Apr 2003
Posts: 123
Location: Netherlands, Enschede

PostPosted: Mon May 09, 2005 3:03 am    Post subject: Reply with quote

R, your previous post already explains the variable Smile
Back to top
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Mon May 09, 2005 3:07 am    Post subject: Reply with quote

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

... dont be angry - chill Wink

Quote:
Maybe you should try reading


Rolling Eyes


You obviously never do try to read the description first
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber