DALnet / bahamut

The Bahamut IRC Daemon
http://www.dal.net/?page=Bahamut
Other
57 stars 42 forks source link

ircd ECHO command #201

Closed ghost closed 2 years ago

ghost commented 2 years ago

There needs to be an echo command that is supported by the client and irc PROXY server. This way you can connect through a proxy server; where you do do not have an /echo command, and use the irc clients ECHO command and the script can pick it up and echo it to a main window. In mIRC this would be done via on *:echo:*:echo -ac info $$1-. There must be an raw numeric or an named event that is for proxy servers to communicate to the client, or specifically, to the client script. You can check if ECHO is supported by the proxy server by sending from the client /raw echo :Testing and if you get a reply from the ircd then the proxy server is not blocking ECHO's from the ircd and therefor it is not supported. The proxy server should block ECHO named events incoming/outgoing from the ircd/client so only the proxy server may use the ECHO command. So the client sends ECHO :r u a proxy? the proxy replies ECHO :i am a proxy otherwise an Invalid command from the ircd is received.

github-actions[bot] commented 2 years ago

Thanks for submitting your first issue! A member of the DALnet coder team will label it appropriately and provide follow-up

ghost commented 2 years ago

The proxy server can send an ECHO command to the client any time already as is. It doesn't not really need to be supported by the client at all.