Page 1 of 1

Aliases are not working.

Posted: Tue Aug 03, 2010 5:15 pm
by Joey
hello,

i have tryed adding an alias so i can use /bs and it fowards to /botserv however after rehashing the server i get this error when doing any /bs command:
BS Unknown Command.

Here is the code i added;

alias "bs" {
target "botserv";
type services;
spamfilter no;
};

its bound to be wrong... i just dont know how to do it right...

Re: Aliases are not working.

Posted: Tue Aug 03, 2010 5:24 pm
by katsklaw
It's easier to just load the pre-made aliases that come with Unreal, look in the aliases directory for your services package then just include them in your unrealircd.conf and make sure set::services-server is pointing to the correct name for your services, case sensitive.

Re: Aliases are not working.

Posted: Tue Aug 03, 2010 5:31 pm
by Joey
alias bs {
format "^#" {
target botserv;
type services;
parameters "%1-";
};
format "^[^#]" {
target botserv;
type services;
parameters "%1-";
};
type command;
};

Same Error: BS Unknown Command (After Rehashing)

Re: Aliases are not working.

Posted: Tue Aug 03, 2010 6:26 pm
by Joey
Anyone going to help :roll:

Re: Aliases are not working.

Posted: Tue Aug 03, 2010 7:57 pm
by katsklaw
1> waiting only an hour before begging for help again doesnt do any good, we are volunteers that help in our spare time from our day jobs.
2> You should do as I asked before asking for more help, otherwise others will see it as a waste of time, just like I'm about to do.

Re: Aliases are not working.

Posted: Tue Aug 03, 2010 8:05 pm
by Joey
It's easier to just load the pre-made aliases that come with Unreal, look in the aliases directory for your services package then just include them in your unrealircd.conf and make sure set::services-server is pointing to the correct name for your services, case sensitive.
#
ive never realy understood things like set::services-server, what is it all meaning

Re: Aliases are not working.

Posted: Tue Aug 03, 2010 8:10 pm
by katsklaw
Then you should say you don't understand instead of just pasting more stuff that looks like you aren't paying attention. We aren't mind readers either, you know.

1> Read the example #2 at: http://www.unrealircd.com/files/docs/un ... edirective
2> insure that the services-server directive in the set block points to the actual name of your services.

Re: Aliases are not working.

Posted: Wed Aug 04, 2010 3:33 am
by static-x
/* Standard Aliases */


alias Nickserv { type services; };
alias ChanServ { type services; };
alias HelpServ { type services; };
alias BotServ { type services; };
alias OperServ { type services; };
alias Memoserv { type services; };





/* Aliases */

alias "ns" {
nick "nickserv";
type services;
};

alias "cs" {
nick "chanserv";
type services;
};


alias "ms" {
nick "memoserv";
type services;
};


alias "bs" {
nick "botserv";
type services;
};

alias "os" {
nick "operserv";
type services;
};
alias "hs" {
nick "hostserv";
type services;
};