Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: ohitmano on March 26, 2007, 09:05:53 AM

Title: OS command
Post by: ohitmano on March 26, 2007, 09:05:53 AM
Hi all, I have problems with /os command
actualy it doesn't work:
Unknown command: OS

but in cinfig.h I have lines:
/* Define this to enable OperServ's svs commands (superadmin only). */
#define USE_OSSVS 1

what can be wrong?

P.S. irc - UnrealIRCD 3.2.6
Title:
Post by: Jan Milants on March 26, 2007, 09:28:02 AM
#define USE_OSSVS has nothing to do with that.. USE_OSSVS refers to whether anope should enable things like svsnick.

your problem is caused by missing aliasses... you must include the services alias file or write your own in your ircd config.
Title:
Post by: ohitmano on March 26, 2007, 09:55:20 AM
I have this lines of aliases in my unrealircd.conf:

Code: [Select]

alias NickServ { type services; };
alias ChanServ { type services; };
alias OperServ { type services; };
alias HelpServ { type services; };
alias StatServ { type stats; };

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

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

what should I have else? Could you write me a real example?
P.S.
I use following services in services.conf:

Code: [Select]

NickServName    "NickServ"  "Nickname Server"
ChanServName    "ChanServ"  "Channel Server"
MemoServName    "MemoServ"  "Memo Server"
BotServName     "BotServ"   "Bot Server"
HelpServName    "HelpServ"  "Help Server"
OperServName    "OperServ"  "Operator Server"
GlobalName      "Global"    "Global Noticer"


Sorry for my possibly stupid questions, I'm novice in this
Title:
Post by: ohitmano on March 26, 2007, 09:55:25 AM
Thanks :)

[Edited on 26-3-2007 by ohitmano]
Title:
Post by: Jan Milants on March 26, 2007, 10:08:09 AM
simply add
Code: [Select]
include "aliases/anope.conf";
Title:
Post by: ohitmano on March 26, 2007, 10:14:08 AM
Thanks very much!!! :)
Title:
Post by: Jobe on March 26, 2007, 03:02:30 PM
Also make sure set::services-server is set to the correct name of your services server.

Like this (shortened for example only as there are other set block params too):
Quote
set {
   services-server "services.server.name";
};
Title:
Post by: ohitmano on March 27, 2007, 05:13:36 AM
This section is allright... Problem was with aliases.
Thanks