Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: OS command  (Read 6155 times)

0 Members and 1 Guest are viewing this topic.

ohitmano

  • Guest
OS command
« 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
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #1 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.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

ohitmano

  • Guest
(No subject)
« Reply #2 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
Logged

ohitmano

  • Guest
(No subject)
« Reply #3 on: March 26, 2007, 09:55:25 AM »

Thanks :)

[Edited on 26-3-2007 by ohitmano]
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #4 on: March 26, 2007, 10:08:09 AM »

simply add
Code: [Select]
include "aliases/anope.conf";
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

ohitmano

  • Guest
(No subject)
« Reply #5 on: March 26, 2007, 10:14:08 AM »

Thanks very much!!! :)
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #6 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";
};
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

ohitmano

  • Guest
(No subject)
« Reply #7 on: March 27, 2007, 05:13:36 AM »

This section is allright... Problem was with aliases.
Thanks
Logged
Pages: [1]   Go Up