I am trying to set up an IRC server and I started out with Hybrid IRCd but later moved to Dancer IRCd. Now I have set up services and they are running and works OK.
Now I would like to add an alias so that
/nickserv becomes
/msg nickserv. Of course I want to do this server-side, not at the client. Is there a good way of doing this? If not, maybe there's a way to add this to the source and recompile the ircd?
Thanks in advance,
EDIT: I went to include/msg.h in the source and tried to change the value of MSG_WHOIS from "WHOIS" to "WHOAM".
When I went to irssi this is what I got:
Quote:
/whois
19:06 -!- WHOIS Unknown command
/whoam
19:06 -!- Irssi: Unknown command: whoam
|
Is it even possible to add new commands to an IRC server? Or will the client just reject the command if it is not a "standard IRC" command? Cause that's the conclusion I get from this test. If I am right, I have just changed the command /whois to /whoam inside the IRC server. But the client refuses to use the command and will not even send it to the server. I guess I could easily confirm this with some simple network sniffing.
But IIRC I could do /nickserv on DALnet, in comparison to for example Freenode where you do /msg nickserv instead. Anyone knows what software they use/used on DALnet? Or if I am doing something wrong here?
Thanks,