Page 1 of 1

deny forbid channels

Posted: Mon Jul 12, 2004 5:04 pm
by root
Hello,

I use Unreal 3.2.1 and I would like to know if it's possible to deny all channels starting with non-alphanumeric (a-z 0-9).

Actually, I deny them one by one like:

deny channel {
channel "#!*";
reason "forbid channel";
};

deny channel {
channel "#-*";
reason "forbid channel";
};

Can I block them with only one command ?

Any suggestion ?

If not ... how can I deny channels starting with * and ? , ie:

#*myroom
#?myroom

Thanks

Posted: Mon Jul 12, 2004 5:29 pm
by codemastr
Well, seeing as how there are 255 characters, it might be easier to specifically allow those that DO start with a-z 0-9.

allow channel {
mask "#a*";
};

...

That way you only need to list 36 entries rather than 219. Other than that though, no you can't do it in a single command. At least not yet. Regexp support is on my todo list.

Posted: Mon Jul 12, 2004 9:16 pm
by root
Oh yeah .. where's my mind !! :\ Thanks codemastr !

I've allowed a-z 0-9 and then after I've denied:

deny channel {
channel "*";
reason "forbid channel";
};

Everything works good ! :D