These are old archives. They are kept for historic purposes only.
Alex
Posts: 88 Joined: Sun Dec 26, 2004 11:07 pm
Location: Kalmar Län - Sweden
Post
by Alex » Thu Aug 03, 2006 9:36 pm
Can anyone tell me where I find the Official Channel Block in unrealircd.conf
I've been looking through my whole config but there are no places where the following example is set:
Code: Select all
official-channels {
"#channel" { topic "The default topic"; };
};
Official channels are shown in /list even if no users are in the channel. The topic is optional and is only shown in /list if it has 0 users.
Code: Select all
official-channels {
"#Help" { topic "The official help channel, if nobody is present type /helpop helpme"; };
"#Home";
"#Main" { topic "The main channel"; };
};
Thanks.
Jobe
Official supporter
Posts: 1180 Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom
Post
by Jobe » Fri Aug 04, 2006 12:04 am
Have you already got official channels set up, as in showing even when empty or are you just wanting to know where to put the block in your unrealircd.conf file to make official channels show even when empty?
If its a case of you just want to know where to put it then anywhere works. Mine have ended up at the end of the file with no errors caused.
Alex
Posts: 88 Joined: Sun Dec 26, 2004 11:07 pm
Location: Kalmar Län - Sweden
Post
by Alex » Fri Aug 04, 2006 7:49 am
Hi Jobe1986,
Yes, I'd appreciate if you could tell me where to put the block in my unrealircd.conf.
Thanks.
White_Magic
Posts: 267 Joined: Tue Jan 18, 2005 3:24 pm
Location: Scotland - United Kingdom
Post
by White_Magic » Fri Aug 04, 2006 9:42 am
hi Alex, the blocks can go anywhere inside the conf file
the config file has no order for things to be in
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict
Alex
Posts: 88 Joined: Sun Dec 26, 2004 11:07 pm
Location: Kalmar Län - Sweden
Post
by Alex » Fri Aug 04, 2006 10:43 am
Hi White_Magic,
Appreciated the answer and thanks for the quick reply.
Alex
Posts: 88 Joined: Sun Dec 26, 2004 11:07 pm
Location: Kalmar Län - Sweden
Post
by Alex » Fri Aug 04, 2006 11:15 am
Ok, I followed the example in the Unreal3.2 documentation like this:
Code: Select all
official-channels {
"#channel" { topic "The default topic"; };
};
but got the following message when I did a /rehash
Code: Select all
*** Notice -- error: unrealircd.conf:615: Unterminated quote found
*** Notice -- error: Could not load config file unrealircd.conf
*** Notice -- error: IRCd configuration failed to load
Followed exactly the above, so I'm not sure where I failed on this.
White_Magic
Posts: 267 Joined: Tue Jan 18, 2005 3:24 pm
Location: Scotland - United Kingdom
Post
by White_Magic » Fri Aug 04, 2006 11:17 am
if go to line 615 of ur conf,
then make sure each opening " has a closing one
you have
you should have
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict
Alex
Posts: 88 Joined: Sun Dec 26, 2004 11:07 pm
Location: Kalmar Län - Sweden
Post
by Alex » Fri Aug 04, 2006 11:29 am
Ok, the below is what I have set in the channel block:
Code: Select all
official-channels {
"#ChannelName" { topic "Welcome to #ChannelName. If you have any questions, just ask. You can also ask
your questions at http://www.something.net/forum/index.php"; };
};
I can't see I should have something wrong there, but if I have please correct me.
White_Magic
Posts: 267 Joined: Tue Jan 18, 2005 3:24 pm
Location: Scotland - United Kingdom
Post
by White_Magic » Fri Aug 04, 2006 2:35 pm
i think its becuz the topic isnt all on 1 line,
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict
Jobe
Official supporter
Posts: 1180 Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom
Post
by Jobe » Fri Aug 04, 2006 2:58 pm
As far as i am aware the topic should be all on one line.
Alex
Posts: 88 Joined: Sun Dec 26, 2004 11:07 pm
Location: Kalmar Län - Sweden
Post
by Alex » Fri Aug 04, 2006 5:04 pm
Thank you so much guys. Tried a new topic on one line, and everything worked fine.
Thank you.