Page 1 of 1

Aliases problem, please help?

Posted: Sun Jan 06, 2008 4:38 am
by Keiro
Okay, so I'm running Unreal 3.2.7.

With the help of a friend who is a Server Owner, I was able to get my server linked with his. However, any time I try /NS, /CS, /MS, etc, I keep forgetting that my server needs to be configured for such.

I've looked at the documentation, yet it does not make sense to me. I had some lightbulbs going on in my mind, and tried them, which turned out to not work at all. So, exactly what am I doing wrong with my alias block? :(

Alias block, as follows:

/* Standard aliases */
alias "services" {
format "^#" {
target "chanserv";
type services;
parameters "%1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "%1-";
};
type command;
};

alias "identify" {
format "^#" {
target "chanserv";
type services;
parameters "IDENTIFY %1-";
};
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
alias "ns" {
format "^[^#]" {
target "nickserv";
type services;
parameters "IDENTIFY %1-";
};
type command;
};

And when I follow the formats...I still get /CS, /NS: Unknown Command.

Can I please have someone show me a properly formatted alias block? As well as MemoServ's block as well?

For some reason, after reading the documentation, it still doesn't make sense to me.

Re: Aliases problem, please help?

Posted: Sun Jan 06, 2008 3:04 pm
by Oyarsa
what services are you using? there is an alias for them in the alias folder that needs to be included in the unreal config

Re: Aliases problem, please help?

Posted: Sun Jan 06, 2008 11:14 pm
by Keiro
Basically all the services that would be needed, such as:

NickServ
OperServ
HelpServ
BotServ
MemoServ

and probably a few others I'm forgetting.

I'm going to try mirroring this on another computer so that it matches. :D

Or can I just use the alias.conf that I saw in the alias folder?

And use a include statement?

Re: Aliases problem, please help?

Posted: Mon Jan 07, 2008 12:07 am
by Jobe
The reason Oyarsa asked what services package is because Unreal comes with a few aliases includes suitable for various packages. For example if you use Anope simply add the following to unrealircd.conf:

includ "aliases/anope.conf";

Re: Aliases problem, please help?

Posted: Mon Jan 07, 2008 5:55 am
by Keiro
Ah!

That seems to work.

Thanks! Oddly enough, I'm not using Anope.

Re: Aliases problem, please help?

Posted: Mon Jan 07, 2008 2:51 pm
by Jobe
Keiro wrote:Ah!

That seems to work.

Thanks! Oddly enough, I'm not using Anope.
Well there are others in the aliases directory, just have a look to see if there is one for your package?

Re: Aliases problem, please help?

Posted: Tue Jan 08, 2008 4:26 am
by Keiro
True.

Though, oddly enough, I'm using the anope config.

I'm just not using Anope. Just the config file. That seems to work...so maybe Anope isn't necessary, I think.

Re: Aliases problem, please help?

Posted: Tue Jan 08, 2008 4:18 pm
by Swan
/* Standard aliases */

alias NickServ { type services; };
alias ChanServ { type services; };
alias MemoServ { type services; };
alias OperServ { type services; };
alias HelpServ { type services; };
alias StatServ { type services; };
alias BotServ { type services; };
alias HostServ { type services; };
alias cs { nick chanserv; type services; };
alias ns { nick nickserv; type services; };
alias ms { nick memoserv; type services; };
alias os { nick operserv; type services; };