From 076980305c59c2975f13449179083de369f68714 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 11 Mar 2026 17:15:29 -0400 Subject: Change /bell to /alert, rerrange .txt files. --- doc/commands.txt | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 doc/commands.txt (limited to 'doc/commands.txt') diff --git a/doc/commands.txt b/doc/commands.txt new file mode 100644 index 0000000..85a32f7 --- /dev/null +++ b/doc/commands.txt @@ -0,0 +1,94 @@ +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 /nick, /who, /whois aren'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. + +/j1 +/join1 +Joins a channel without creating a new screen. Channel test will be +sent to the [server] screen. Use "/m #channel" 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 . can also be a channel, which +creates a channel screen for a channel that doesn't already have +its own screen. + +/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. + +/names [] +Shows the list of users in a channel. Uses the current screen's channel, +if no given. On most networks, it's not very useful to use +/names on a channel you haven't joined. + +/topic [] +Shows the channel topic and its creator. With no , uses the +current screen's channel. + +/ping [] +With no argument: ping the server. With arg: CTCP ping the nick. +The contents of RTCLOK are sent as the ping data, so when the +PONG response is received, the round-trip time can be shown, with +up to 1/60 (NTSC) or 1/50 (PAL) second accuracy. +TODO: not implemented yet. + +/me +CTCP ACTION. Only works in a channel or query screen (eventually +it'll work in [server] and [private] too) + +/ver +CTCP VERSION. + +/info [] +With , CTCP CLIENTINFO. Without , INFO command for the +server. + +/ctcp [] +Send arbitrary CTCP commands. + +/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-screen basis, eventually. +TODO: this only takes bg and fg arguments, currently. + +/chans +List all channels we've joined. This will actually be limited to +something like 20 (who joins more than 20 channels anyway?) +TODO: not implemented yet. + +/quote +Send raw IRC protocol to the server. This bypasses local command +parsing. + +/alert +Set the type of alert that happens when you're PMed or highlighted +in a channel. 0 = none, 1 = beep, 2 = flash, 3 = beep and flash. -- cgit v1.2.3