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 

mode $chan +f

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Damsulegna
Voice


Joined: 23 Sep 2006
Posts: 5

PostPosted: Sat Sep 23, 2006 12:24 pm    Post subject: mode $chan +f Reply with quote

How can i set this mode in TCL

[20j#i2,20m#m2]:15

mirc usage is: mode $chan +f [20j#i2,20m#m2]:15


i keep getting errors with
Code:
 putserv "MODE $chan +CntTf [20j#i2,20m#m2]:15"



i have also tried
Code:

set chanx +CntTf [20j#i2,20m#m2]:15
proc pub_setmodes {nick uhost hand chan txt} {
  global botnick
  putserv "MODE $chan $chanx"
}
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sat Sep 23, 2006 4:51 pm    Post subject: Reply with quote

In eggdrop it would be:

putserv "MODE $chan +CntTf"

I do not know what the [20j#i2,20m#m2]:15 is supposed to be (I don't use mirc)
Back to top
View user's profile Send private message
Damsulegna
Voice


Joined: 23 Sep 2006
Posts: 5

PostPosted: Sun Sep 24, 2006 4:36 am    Post subject: Reply with quote

it is the sensitivity settings for the +f, and part of the mode setting

allow me to explian
Code:

/mode #channel +f [10j#i10,30m#m10,2c#C15,10n#N15,2k#K15]:5
10 joins in five seconds, if limit is reached set channel +i (only invited users may join) for 10 minutes
30 lines in five seconds, if limit is reached set channel +m (only voiced and higher users can speak) for 10 minutes
2 ctcps in five seconds, if limit is reached set channel +C (no ctcps) for 15 minutes
10 nick changes in five seconds, if limit is reached set channel to +N (no nick changes) for 15 minutes
2 knocks in five seconds, if limit is reached set channel +K (no knocks) for 15 minutes
Back to top
View user's profile Send private message
br00
Voice


Joined: 19 Jun 2006
Posts: 9

PostPosted: Sun Sep 24, 2006 10:07 am    Post subject: Reply with quote

you need to escape the [ and ]
Code:
putserv "MODE $chan +CntTf \[20j#i2,20m#m2\]:15"


should do the trick
Back to top
View user's profile Send private message
Damsulegna
Voice


Joined: 23 Sep 2006
Posts: 5

PostPosted: Sun Sep 24, 2006 10:11 am    Post subject: Reply with quote

Thank you so much br00, it works a treat..


Appreciate


/me buys br00 a beer
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Sep 24, 2006 12:42 pm    Post subject: Reply with quote

it's incredible how much bloat is put into ircds nowadays; we all know that Unreal and the like are full of it, but this is off the lame-o-meter's scale

may I ask what server version are you on? you can find that out by typing /version and watch for server's reply in your Status window
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Damsulegna
Voice


Joined: 23 Sep 2006
Posts: 5

PostPosted: Sun Sep 24, 2006 2:12 pm    Post subject: Reply with quote

Code:

Unreal3.2.4. england.p2pchat.net FhiXeOoZEN3 [*=2307]
-
CMDS=KNOCK,MAP,DCCALLOW,USERIP SAFELIST HCN MAXCHANNELS=16 CHANLIMIT=#:16 MAXLIST=b:60,e:60,I:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307 MAXTARGETS=20 WALLCHOPS are supported by this server
WATCH=128 SILENCE=15 MODES=12 CHANTYPES=# PREFIX=(ohv)@%+ CHANMODES=beIqa,kfL,ljP,psmntirRcOAQKVCuzNSMTG NETWORK=P2PChat CASEMAPPING=ascii EXTBAN=~,cqnr ELIST=MNUCT STATUSMSG=@%+ EXCEPTS INVEX are supported by this server
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Sep 24, 2006 2:39 pm    Post subject: Reply with quote

Damsulegna wrote:
it is the sensitivity settings for the +f, and part of the mode setting


Neato

I'd like to know what version ircd that is too, so I can ask if criten.net will implement it Smile
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 Sep 24, 2006 6:37 pm    Post subject: Reply with quote

rosc2112 wrote:
Damsulegna wrote:
it is the sensitivity settings for the +f, and part of the mode setting


Neato

I'd like to know what version ircd that is too, so I can ask if criten.net will implement it Smile

Into excessive bloat are we?

Doesn't any one soul know of the KISS principle? Makes me happy to be on a network that uses Bahamut.
_________________
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
Damsulegna
Voice


Joined: 23 Sep 2006
Posts: 5

PostPosted: Mon Sep 25, 2006 3:31 pm    Post subject: Reply with quote

rosc2112 wrote:
Damsulegna wrote:
it is the sensitivity settings for the +f, and part of the mode setting


Neato

I'd like to know what version ircd that is too, so I can ask if criten.net will implement it Smile



Damsulegna wrote:
Code:

Unreal3.2.4. england.p2pchat.net FhiXeOoZEN3 [*=2307]
-
CMDS=KNOCK,MAP,DCCALLOW,USERIP SAFELIST HCN MAXCHANNELS=16 CHANLIMIT=#:16 MAXLIST=b:60,e:60,I:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307 MAXTARGETS=20 WALLCHOPS are supported by this server
WATCH=128 SILENCE=15 MODES=12 CHANTYPES=# PREFIX=(ohv)@%+ CHANMODES=beIqa,kfL,ljP,psmntirRcOAQKVCuzNSMTG NETWORK=P2PChat CASEMAPPING=ascii EXTBAN=~,cqnr ELIST=MNUCT STATUSMSG=@%+ EXCEPTS INVEX are supported by this server
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 Requests 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