Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: Kamen on October 28, 2013, 08:26:21 AM

Title: How can I rename the IRC Services names [Chanserv] to [CS] (example)
Post by: Kamen on October 28, 2013, 08:26:21 AM
Hello guys.
I wanted to ask, if it is possible - How can I rename the IRC Services names

Example:
... etc

P.S - I am using UnrealIRCd 3.2
Title: Re: Services Question
Post by: Adam 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"
Title: Re: Services Question
Post by: Kamen 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 ?
Title: Re: Services Question
Post by: Jan Milants 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?
Title: Re: Services Question
Post by: Adam 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.
Title: Re: Services Question
Post by: Kamen 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
Title: Re: Services Question
Post by: Adam on October 28, 2013, 08:39:40 AM
It's literally like the first configurable option in each of the example configuration files.
Title: Re: Services Question
Post by: Kamen 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..
Title: Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
Post by: Adam 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.
Title: Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
Post by: Kamen 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"
Title: Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
Post by: Kamen 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  :)
Title: Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
Post by: Adam 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?
Title: Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
Post by: Kamen 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  :(
Title: Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
Post by: Adam 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.
Title: Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
Post by: Kamen 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
Title: Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
Post by: Kamen 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.
Title: Re: How can I rename the IRC Services names [Chanserv] to [CS] (example)
Post by: Kamen 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 !!!