Badwords how?

These are old archives. They are kept for historic purposes only.
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight » Thu Mar 11, 2004 10:52 pm

xtend wrote:Now I can go on find out how to auto set +G in channel mode

Code: Select all

set {
   modes-on-join "+G";
I leave it to you to figure out how to force +G to stay set (i.e. cannot unset).


Post by Ron2K » Fri Mar 12, 2004 6:24 am

I'm feeling kind today, so:
The Manual wrote:set::restrict-channelmodes <modes>
Restrict users to set/unset the channelmodes listed here (don't use + or -).
For example you can set +G in modes-on-join and G in restrict-channelmodes, that way you can force all (new) channels to be +G and unable to do -G.
NOTE: it may still be possible to use these channelmodes trough services by using MLOCK. Unfortunately we can't do much about that, you would have to ask the services coders to implement a restrict-channelmodes feature too.
You would use it as:

Code: Select all

set {
     restrict-channelmodes "G";
If you've included badwords.message.conf (or whatever it's called), you can force usermode +G as well (prevents badwords in privmsgs). You'd use the set::modes-on-join and set::restrict-usermodes in the same way as the other two directives that we just gave you. Read the documentation if you get stuck.

Posts: 40
Joined: Sat Mar 06, 2004 9:42 am
Location: Netherland (Amsterdam)

Post by eQuiliBrium » Fri Mar 12, 2004 12:12 pm

Well let me expain something about this.

Mode +G gives you <censord> to any badwords you have in your badwords.conf.
Spamfilter kinda dos the same.
So i fact why having all this badwords in a seperate .conf file and why not put them in one file.
The spamfilter addon has the option to replace or not even show a word.

But the only good thing that comes to my mind about using the +G mode is.
That this can be undone (taken away) in channels or nicks.
This not beeing able with the spamfilter.

But if you are going to restrict the option -G (not beeing able to unset the mode +G).
My advice to you is use the spamfilter and dont force ppl to use the mode +G in there nick's and in there channel's.

Restricting mode's in your unrealircd.conf will affect any/all channels server wide.
Think carefull before restricting any mode's.

About the +G mode in nick's.
I have the mode +G given to users on connect.
Most ppl dont change there mode's after connection to the server.
1) they are laizy.
2) they dont know how.
In bouth cases you reached the options that you like to have.
Let me think about it

Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight » Fri Mar 12, 2004 2:40 pm

Ron2K wrote:You'd use the set::modes-on-join and set::restrict-usermodes
Isn't it set::modes-on-connect?


Post by Ron2K » Fri Mar 12, 2004 3:31 pm

Oeer, have I got it the wrong way around or something?

Post Reply