Page 1 of 1
Aliases, sorda...
Posted: Thu May 06, 2010 11:41 am
by AniZaeger
Is there a way to redirect messages destined for one nickname to another? Specifically, all of the services on my network use single-letter names (call it a "theme"; NickServ is N, ChansServ is C, OperServ is O, etc). Unfortunately, it's not always possible to change the destination that some client scripts will send services messages to. What I need is a way to redirect messages sent to users NickServ, ChanServ, etc to their single-character counterparts. I was previously using Anope 1.8, which had service client aliases (basically ran pseudo-clients that bounced the messages sent to them to the proper pseudo-client). Unfortunately, the most recent version (1.9) doesn't seem to offer that. Would what I'm trying to accomplish be possible with the aliasing system on Unreal, or would I need to use another alternative such as a module to accomplish this? Any help would be greatly appreciated.
Re: Aliases, sorda...
Posted: Thu May 06, 2010 2:21 pm
by katsklaw
Aliases are server side, not services side. Which means they have nothing to do with services directly. Also Yes, Anope 1.9 can use the same aliases as 1.8. Aliases can also point to regular users like eggdrop client bots. There is an example of such an alias in example.conf called "glinebot".
Aliases are not pseudo-bots, they are a command map that convert the /chanserv command into /privmsg chanserv@<services-server> That means you can have an alias called "bob" that points to
[email protected] and all text sent with the /bob command will be send via privmsg to bobsmith on server ircd1.my.shiny.net
Please see aliases/anope.conf It will be self explanatory once you open the file and read it.
Re: Aliases, sorda...
Posted: Thu May 06, 2010 8:51 pm
by AniZaeger
I was afraid my question would cause some confusion. I actually have several complex aliases I made for my network (mainly so help queries can be redirected to the network help channel to supplement the helpop system), so I know for the most part how the system works. What I need is when someone does "/msg nickserv somecommand here", since there is no user named "nickserv" on my network, I need a way for the server to recognize that and redirect the /msg to the user named "n". Basically, transparently bouncing a PRIVMSG. I think where the confusion came from is when I mentioned Anope's aliases (NickServAlias, ChanServerAlias, etc from version 1.

which were basically a second nickname that IRC services could be online as.