From d3a19b319e8ecdf111de44ffa9847474301edcbb Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 21 Feb 2026 22:11:10 -0500 Subject: WIP. --- commands.txt | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 commands.txt (limited to 'commands.txt') diff --git a/commands.txt b/commands.txt new file mode 100644 index 0000000..44ab6c5 --- /dev/null +++ b/commands.txt @@ -0,0 +1,59 @@ +Anything starting with a / is a command, unless it starts with +*two* / in which case the first one is removed and the rest is +sent as channel/query text. + +Example: someone asks you where the password file is on UNIX. If you +reply "/etc/passwd", that would be considered a command. You type +"//etc/passwd" and the string "/etc/passwd" gets sent to the channel. + +Anything that starts with / that isn't listed here gets sent to the +IRC server as-is, minus the /. That's why /who and /whois arent't +listed here, for instance. + +/j +/join +Joins a channel, creates a new screen if possible. If a screen can't +be created, channel text will be sent to the [server] screen, and +"/m #channel" must be used, to send to the channel. + +/m +/msg +PRIVMSG to nick or channel. + +/q [] +/query [] +Creates a screen for PMs to/from if possible. If is +given, sends it to the . + +/quit [] +Quits IRC with optional quit message. + +/p [#chan] [] +/part [#chan] [] +Parts (leaves) a channel. If no #chan is given, the current screen's +channel is parted (if you're in a channel screen). If there's a screen +for the channel, it gets closed. + +/ping [] +With no argument: ping the server. With arg: CTCP ping the nick. + +/me +CTCP ACTION. + +/ver +CTCP VERSION. + +/info [] +With , CTCP CLIENTINFO. Without , INFO command for the +server. + +/list +This command will be sent to the server as-is. The only reason it's a +local command is so the argument can be required: sending LIST without +any arguments lists every channel on the server, which isn't useful. + +/color [] [] +Set colors. This should be on a per-window basis. + +/quote +Send raw IRC protocol. -- cgit v1.2.3