Page 1 of 1

Set block directive

Posted: Sat Mar 05, 2005 2:37 pm
by Mr_S
Ello everyone! silly question! how on earth do i write a set block?

Code: Select all

set {
	<entry> <value>;
	<entry> <value>;
	...
};
or

Code: Select all

set { options { hide-ulines; no-stealth; }; };
I want to auto-join #lobby and restrict user mode h


Way i see it, this is how it should be

Code: Select all

set { auto-join { #lobby; }; };
set { restrict user-modes { h; }; };

But then!

Code: Select all

** Notice -- error: unrealircd.conf: Unexpected EOF for section starting on line 846

Any advice please? Thanks

Posted: Sat Mar 05, 2005 2:58 pm
by Dukat
For an example have a look at the example.conf in your doc/ dir, there's also an example in the documentation.


You can add everything in one set block, you don't need a new one for every single statement.
Please read the docs on the set block again.
http://www.vulnscan.org/UnrealIRCd/unre ... l#setblock

The correct syntax for your two statements would be:

Code: Select all

set { 
    auto-join "#lobby";
    restrict-usermodes "h";
};