aboutsummaryrefslogtreecommitdiff
path: root/commands.txt
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-02-21 22:11:10 -0500
committerB. Watson <urchlay@slackware.uk>2026-02-21 22:11:10 -0500
commitd3a19b319e8ecdf111de44ffa9847474301edcbb (patch)
treed9586b54b3940c91debaea418b9711c0e94c7f5c /commands.txt
parent525a545e62c97c1ed5335d6ce5750341c5ba877e (diff)
downloadfujinet-chat-d3a19b319e8ecdf111de44ffa9847474301edcbb.tar.gz
WIP.
Diffstat (limited to 'commands.txt')
-rw-r--r--commands.txt59
1 files changed, 59 insertions, 0 deletions
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 <channel>
+/join <channel>
+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 <nick|channel>
+/msg <nick|channel>
+PRIVMSG to nick or channel.
+
+/q <nick> [<msg>]
+/query <nick> [<msg>]
+Creates a screen for PMs to/from <nick> if possible. If <msg> is
+given, sends it to the <nick>.
+
+/quit [<msg>]
+Quits IRC with optional quit message.
+
+/p [#chan] [<msg>]
+/part [#chan] [<msg>]
+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 [<nick>]
+With no argument: ping the server. With arg: CTCP ping the nick.
+
+/me
+CTCP ACTION.
+
+/ver <nick>
+CTCP VERSION.
+
+/info [<nick>]
+With <nick>, CTCP CLIENTINFO. Without <nick>, INFO command for the
+server.
+
+/list <arg(s)>
+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 <bg> [<fg>] [<border>]
+Set colors. This should be on a per-window basis.
+
+/quote <cmd>
+Send raw IRC protocol.