Set block directive

These are old archives. They are kept for historic purposes only.
Post Reply
Mr_S
Posts: 70
Joined: Sat Jun 26, 2004 7:44 pm
Location: United Kingdom
Contact:

Set block directive

Post 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
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post 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";
};
Post Reply