Page 1 of 1

anope : How to use /ns /cs instead of /msg Nickserv etc...

Posted: Tue Mar 14, 2006 9:58 pm
by siyavash
Hi,

I was wondering how to use /ns instead of /msg NickServ ? I have the following line in my unrealircd config :

alias BotServ { type services; };
alias ChanServ { type services; };
alias HelpServ { type services; };
alias HostServ { type services; };
alias MemoServ { type services; };
alias NickServ { type services; };
alias OperServ { type services; };
alias StatServ { type stats; };
alias SuperBot { type normal; };
alias bs { nick BotServ; type services; };
alias cs { nick ChanServ; type services; };
alias he { nick HelpServ; type services; };
alias hs { nick HostServ; type services; };
alias ms { nick MemoServ; type services; };
alias ns { target nickserv; type services; };
alias os { nick OperServ; type services; };
alias ss { nick StatServ; type services; };


alias "services" {
format "^#" {
nick "chanserv";
type services;
parameters "%1-";
};
format "^[^#]" {
nick "nickserv";
type services;
parameters "%1-";
};
type command;
};

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


but they don't work. :oops:

Posted: Tue Mar 14, 2006 10:38 pm
by Syzop
hint: whenever something does not work, say what you tried and what error you got.

Posted: Wed Mar 15, 2006 2:26 am
by siyavash
yepp. Hm... I didn't tried anything.

But now I tried replace "service" with "normal" and it works! :)

Posted: Thu Mar 16, 2006 2:09 am
by Trystan
Sounds like

1. services server was not set correctly
2. Ran into a bug with services