Badlang

Discuss the world of file sharing, from philosophy to help with applications.

Moderator: CricketMX Forum Moderators

Post Reply
Lunatic_UK1958
Greenhorn
Greenhorn
Posts: 18
Joined: Wed Mar 16, 2005 6:55 pm

I seem to be having no end of problems with the BadLang in Metis. It gives 2 warnings, one straight after the other, then promptly kicks the offender!

I have search the forums and see that this was apparantly fixed in an earlier version. I am running v1.51 RoboMx, v2.60 of Metis & v4.50b.20050227-0730 of Ouka.

I have the following line in my MXC.xml:
<include file="badlang.xml"/>
..
..
<BadwordPenalty enable="1" exclude="1"/>
<AutoKick enable="0" warnings="2"/>
<BadLangWarning value="Please go easy on the swearing, %NAME%, thankyou."/>
<BadLangPreKick value="You have been warned, %NAME%. Too much swearing is not permitted. You are the weakest link, goodbye."/>
<RedirectCommand value="/kick %RAWNAME%"/>
The 'lookup' on the offending word in the badlang.xml, works perfect, but it just warns and kicks.

Any ideas?
quicksilver
Helpful Hands
Helpful Hands
Posts: 1926
Joined: Mon Mar 22, 2004 12:12 am

I beleive the answer you seek is to be found in the Metis.chm file in the Metis folder in Program Files .

I,m actually suprised it kicks as you have that function turned off in your script
<AutoKick enable="0" warnings="2"/>
Heres an extract from the help file
Autokick feature of Badword Penalty
Enables or disables the autokick feature of the Badword Penalty. If enabled and a user exceeds his maximum number of warnings he gets kicked or redirected from the channel (RCMS required)
Element name: Autokick
Attribute 1: enable (1 is enabled, 0 is disabled)
Attribute 2: warnings (number of warnings before a user gets kicked, greater or equal to 1)

Default 1: 1
Default 2: 3

<AutoKick enable="1" warnings="3"/>
Badword Penalty
Enables or disables the Badword Penalty.
Element name: BadwordPenalty
Attribute 1: enable (1 is enabled, 0 is disabled)
Attribute 2: exclude (Exclude users and usergroups stated in the badword from penalty, 1 is yes, 0 is no)

Default 1: 1
Default 2: 1

<BadwordPenalty enable="1" exclude="1"/>

I think what might be the problem is the delay between its own output .
Botoutput Flood protection
Sets the time in milliseconds, Metis waits between posting its reponses. This is to avoid Metis Spamming the channel with message too fast.
Element name: BotFloodControl
Attribute: value (greater or equal to zero)

Default: 2000

<BotFloodControl value="2000"/>
Image
Post Reply