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.

mode $chan +f

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
D
Damsulegna
Voice
Posts: 5
Joined: Sat Sep 23, 2006 11:44 am

mode $chan +f

Post by Damsulegna »

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: Select all

 putserv "MODE $chan +CntTf [20j#i2,20m#m2]:15"

i have also tried

Code: Select all

set chanx +CntTf [20j#i2,20m#m2]:15
proc pub_setmodes {nick uhost hand chan txt} { 
  global botnick
  putserv "MODE $chan $chanx"
}
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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)
D
Damsulegna
Voice
Posts: 5
Joined: Sat Sep 23, 2006 11:44 am

Post by Damsulegna »

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

allow me to explian

Code: Select all

/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
b
br00
Voice
Posts: 9
Joined: Mon Jun 19, 2006 8:09 am

Post by br00 »

you need to escape the [ and ]

Code: Select all

putserv "MODE $chan +CntTf \[20j#i2,20m#m2\]:15"
should do the trick
D
Damsulegna
Voice
Posts: 5
Joined: Sat Sep 23, 2006 11:44 am

Post by Damsulegna »

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


Appreciate


/me buys br00 a beer
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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: Select all

 tag when posting logs, code
D
Damsulegna
Voice
Posts: 5
Joined: Sat Sep 23, 2006 11:44 am

Post by Damsulegna »

Code: Select all

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
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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 :)
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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 :)
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
D
Damsulegna
Voice
Posts: 5
Joined: Sat Sep 23, 2006 11:44 am

Post by Damsulegna »

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 :)
Damsulegna wrote:

Code: Select all

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
Post Reply