Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: How can I rename the IRC Services names [Chanserv] to [CS] (example)  (Read 15676 times)

0 Members and 1 Guest are viewing this topic.

Kamen

  • Anope User
  • Offline Offline
  • Posts: 23
  • IRC Newbie

Hello guys.
I wanted to ask, if it is possible - How can I rename the IRC Services names

Example:
  • NickServ > NS
  • ChanServ > CS
  • OperServ > OS
... etc

P.S - I am using UnrealIRCd 3.2
« Last Edit: October 28, 2013, 08:43:56 AM by Kamen »
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Services Question
« Reply #1 on: October 28, 2013, 08:30:46 AM »

If you actually read the example configuration file you'd see:

Code: [Select]
# ...Name <nick> <string>  [REQUIRED except as noted below]
#     Specify the nicknames (first parameter) and "real" names (second
#     parameter) for the Services pseudoclients.  BotServ and DevNull may
#     be disabled by commenting out the appropriate lines below. Disabling
#     BotServ is recommended on large networks.

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"
#DevNullName     "DevNull"   "/dev/null -- message sink"
HostServName    "HostServ"  "vHost Server"
Logged

Kamen

  • Anope User
  • Offline Offline
  • Posts: 23
  • IRC Newbie
Re: Services Question
« Reply #2 on: October 28, 2013, 08:35:14 AM »

I searched over and couldn't find a way and that is why I made a post here.
In which .conf should I look ?
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Services Question
« Reply #3 on: October 28, 2013, 08:36:34 AM »

Rather then saying which IRCd you are using, don't you think it d be more useful to mention which Anope you are using?
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Services Question
« Reply #4 on: October 28, 2013, 08:36:58 AM »

If you are using 1.9 you should look in the respective confguration file for each *serv and change the value of service:nick.
Logged

Kamen

  • Anope User
  • Offline Offline
  • Posts: 23
  • IRC Newbie
Re: Services Question
« Reply #5 on: October 28, 2013, 08:38:32 AM »

Using Anope 1.9**

So in general, I should edit each .CONF file for each chanserv.example.conf / operserv.example.conf .. etc ?

I am missing the mentioned above in the .conf files
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Services Question
« Reply #6 on: October 28, 2013, 08:39:40 AM »

It's literally like the first configurable option in each of the example configuration files.
Logged

Kamen

  • Anope User
  • Offline Offline
  • Posts: 23
  • IRC Newbie
Re: Services Question
« Reply #7 on: October 28, 2013, 08:42:33 AM »

Okay, lets make a summary (NickServ for example)

service
{
   /*
    * The name of the NickServ client.
    */
   nick = "NickServ"

   /*
    * The username of the NickServ client.
    */
   user = "services"

   /*
    * The hostname of the NickServ client.
    */
   host = "services.host"

   /*
    * The realname of the NickServ client.
    */
   gecos = "Nickname Registration Service"


Editing the first value nick = "NickServ" to [NS] is crashing the Services..
« Last Edit: October 28, 2013, 08:44:57 AM by Kamen »
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
« Reply #8 on: October 28, 2013, 08:45:26 AM »

Why do you think it is crashing services? If you change it I think you will have to restart them and then probably /bs bot del the old NickServ.
Logged

Kamen

  • Anope User
  • Offline Offline
  • Posts: 23
  • IRC Newbie
Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
« Reply #9 on: October 28, 2013, 08:48:23 AM »

1) Opening "nickserv.example.conf"
2) Editinig
    /*
    * The name of the client that should be NickServ.
    */
   client = "NickServ" > to "NS"

3) Saving
4) Restarting the IRC Server and the Services
5) After starting Anope.exe - It Crashes if the value is different from "NickServ"
Logged

Kamen

  • Anope User
  • Offline Offline
  • Posts: 23
  • IRC Newbie
Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
« Reply #10 on: October 28, 2013, 08:58:37 AM »

The goal I want to achieve is that the Services respond and be seen as [CS] [NS] [OS] [SS] .. etc.
If someone have managed to achieve this - please share a way.

Thanks in advance to everyone  :)
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
« Reply #11 on: October 28, 2013, 08:59:18 AM »

Insead try

Code: [Select]
define
{
        name = "NickServ"
        value = "NS"
}

instead at the top of the file. I just tested this and it works okay for me. Again, why do you think it's crashing? Does Windows tell you the application has crashed, or is it just not starting?
Logged

Kamen

  • Anope User
  • Offline Offline
  • Posts: 23
  • IRC Newbie
Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
« Reply #12 on: October 28, 2013, 09:14:29 AM »

Thanks Adam.
It loads now but ChanServ remains ChanServ as name, when join at channel

* ChanServ sets mode: +ao ChanServ ChanServ  :(
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
« Reply #13 on: October 28, 2013, 09:16:04 AM »

That's because ChanServ is now a normal botserv bot. You should be able to /bs bot del it. If you /msg CS it should reply back with the normal chanserv output.
Logged

Kamen

  • Anope User
  • Offline Offline
  • Posts: 23
  • IRC Newbie
Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
« Reply #14 on: October 28, 2013, 09:20:54 AM »

Okay, lets make a quick summary

1) Add (below) at the top of chanserv.example.conf
define
{
        name = "ChanServ"
        value = "CS"
}

2) Saving the file and restart the services
3) ChanServ is still shown as [ChanServ], when join a channel
« Last Edit: October 28, 2013, 09:34:07 AM by Kamen »
Logged

Kamen

  • Anope User
  • Offline Offline
  • Posts: 23
  • IRC Newbie
Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
« Reply #15 on: October 29, 2013, 08:35:28 PM »

So in general - There is no way of renaming the Services, so they will be seen in mIRC with changed names

ChanServ = CS
NickServ = NS
OperServ = OS
MemoServ = MS
BotServ = BS

.. etc ?
If someone knows a way - please let me know.
Thanks in advance.
Logged

Kamen

  • Anope User
  • Offline Offline
  • Posts: 23
  • IRC Newbie
Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
« Reply #16 on: October 29, 2013, 10:08:48 PM »

I have managed to fix this and successfully renamed the services  :)
You can lock this out  :)

Thanks a lot for the help Adam !!!
Logged
Pages: [1]   Go Up