summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Hauwaerts <geert@hauwaerts.be>2014-08-05 22:00:30 +0200
committerGeert Hauwaerts <geert@hauwaerts.be>2014-08-05 22:00:30 +0200
commitf0aa2d204990636a65de9aaba7c13c0866fcaf83 (patch)
treea28895b766bc1ef61c14eb8c7fc497e951e8ee6f
parentb9f532568b92444488ce00c1734013e035d40f56 (diff)
downloadirssi-f0aa2d204990636a65de9aaba7c13c0866fcaf83.zip
Syntax rewrite of U-Z commands
Rewrote the syntax documentation of U-Z commands.
-rw-r--r--docs/help/in/ban.in2
-rw-r--r--docs/help/in/time.in22
-rw-r--r--docs/help/in/toggle.in21
-rw-r--r--docs/help/in/topic.in23
-rw-r--r--docs/help/in/trace.in27
-rw-r--r--docs/help/in/ts.in12
-rw-r--r--docs/help/in/unalias.in17
-rw-r--r--docs/help/in/unban.in48
-rw-r--r--docs/help/in/unignore.in18
-rw-r--r--docs/help/in/unload.in17
-rw-r--r--docs/help/in/unnotify.in17
-rw-r--r--docs/help/in/unquery.in20
-rw-r--r--docs/help/in/unsilence.in18
-rw-r--r--docs/help/in/upgrade.in22
-rw-r--r--docs/help/in/uping.in12
-rw-r--r--docs/help/in/userhost.in19
-rw-r--r--docs/help/in/ver.in21
-rw-r--r--docs/help/in/version.in19
-rw-r--r--docs/help/in/voice.in23
-rw-r--r--docs/help/in/wait.in21
-rw-r--r--docs/help/in/wall.in23
-rw-r--r--docs/help/in/wallops.in19
-rw-r--r--docs/help/in/watch.in18
-rw-r--r--docs/help/in/who.in59
-rw-r--r--docs/help/in/whois.in31
-rw-r--r--docs/help/in/whowas.in25
-rw-r--r--docs/help/in/window.in109
-rw-r--r--docs/help/in/wjoin.in9
-rw-r--r--docs/help/in/wquery.in8
-rw-r--r--src/irc/core/irc-commands.c3
30 files changed, 488 insertions, 215 deletions
diff --git a/docs/help/in/ban.in b/docs/help/in/ban.in
index c43c63dd..c5895e3f 100644
--- a/docs/help/in/ban.in
+++ b/docs/help/in/ban.in
@@ -38,5 +38,5 @@
/SET ban_type custom nick domain
/SET ban_type custom user host
-%9See also:%9 KICKBAN, KNOCKOUT
+%9See also:%9 DEOP, KICKBAN, KNOCKOUT, OP, UNBAN
diff --git a/docs/help/in/time.in b/docs/help/in/time.in
index 7877fe75..1b3161d7 100644
--- a/docs/help/in/time.in
+++ b/docs/help/in/time.in
@@ -1,11 +1,23 @@
+%9Syntax:%9
+
@SYNTAX:time@
-This displays the time of day, local to the server queried (thus,
-the time returned may not be the same as the client's local time).
+%9Parameters%9
+
+ The channel or the nickname; if no argument is given, the active server
+ will be used.
+
+%9Description:%9
+
+ Displays the local time of a server or the server the target user is
+ connected to.
+
+%9Examples:%9
-If the server name is omitted, the client's current server is used.
-If a nickname is given, that client's server is queried.
+ /TIME
+ /TIME mike
+ /TIME ircsource.irssi.org
-Same as /DATE.
+%9See also:%9 MAP, TRACE, WHOIS
diff --git a/docs/help/in/toggle.in b/docs/help/in/toggle.in
index 19913061..ee2c825e 100644
--- a/docs/help/in/toggle.in
+++ b/docs/help/in/toggle.in
@@ -1,11 +1,22 @@
+%9Syntax:%9
+
@SYNTAX:toggle@
-/TOGGLE <key> behaves like /SET <key> TOGGLE. /TOGGLE also
-accepts arguments ON and OFF when /TOGGLE behaves exactly
-like /SET.
+%9Parameters%9
+
+ The setting to modify and the new value; if no value is given, its oposite
+ will be used.
+
+%9Description:%9
+
+ Modifies a setting to its counter value; you can also give ON or OFF as a
+ value.
+
+%9Examples:%9
-Remember that changes are not saved until you use /SAVE!
+ /TOGGLE resolve_prefer_ipv6
+ /TOGGLE channels_rejoin_unavailable ON
-See also: SET
+%9See also:%9 SET
diff --git a/docs/help/in/topic.in b/docs/help/in/topic.in
index ae2564f8..6d85050d 100644
--- a/docs/help/in/topic.in
+++ b/docs/help/in/topic.in
@@ -1,8 +1,25 @@
+%9Syntax:%9
+
@SYNTAX:topic@
- -delete - Deletes the topic.
+%9Parameters%9
+
+ -delete: Removes the topic.
+
+ The channel and topic; if no channel is given, the active channel will be
+ used. If no argument is given, the current topic will be displayed.
+
+%9Description:%9
+
+ Displays or modifies the topic of a channel.
+
+%9Examples:%9
+
+ /TOPIC
+ /TOPIC The robots are taking over!
+ /TOPIC -delete #irssi
+ /TOPIC #shakespeare /bb|[^b]{2}/
-Shows or/and changes the topic of the current or specified
-channel.
+%9See also:%9 CHANNEL, DEOP, DEVOICE, JOIN, OP, VOICE
diff --git a/docs/help/in/trace.in b/docs/help/in/trace.in
index 03aaeb55..6bdf595e 100644
--- a/docs/help/in/trace.in
+++ b/docs/help/in/trace.in
@@ -1,12 +1,25 @@
+%9Syntax:%9
+
@SYNTAX:trace@
-Without a specified server TRACE shows the current connections on
-the local server. If you specify a remote server it will show
-all servers between your current server and that remote server
-as well as the connections on that remote server. With a nick it
-shows the servers in between and information about that nick.
+%9Parameters%9
+
+ The channel or the nickname; if no argument is given, the active server
+ will be used.
+
+%9Description:%9
+
+ Displays the list of servers and users connects to a server, or a list of
+ the servers between yourself and the target user.
+
+ This command is usually restricted to IRC operators.
+
+%9Examples:%9
+
+ /TRACE
+ /TRACE mike
+ /TRACE ircsource.irssi.org
-On some servers, TRACE shows information such as IP addresses
-and idle times.
+%9See also:%9 MAP, TIME, WHOIS
diff --git a/docs/help/in/ts.in b/docs/help/in/ts.in
index 0f51f96d..98861bb5 100644
--- a/docs/help/in/ts.in
+++ b/docs/help/in/ts.in
@@ -1,7 +1,15 @@
+%9Syntax:%9
+
@SYNTAX:ts@
-Shows topics of all channels you're on.
+%9Description:%9
+
+ Displays a list of the channels you are on and their topics.
+
+%9Examples:%9
+
+ /TS
-See also: CHANNEL, TOPIC
+%9See also:%9 JOIN, TOPIC
diff --git a/docs/help/in/unalias.in b/docs/help/in/unalias.in
index d3b2e744..127af559 100644
--- a/docs/help/in/unalias.in
+++ b/docs/help/in/unalias.in
@@ -1,7 +1,20 @@
+%9Syntax:%9
+
@SYNTAX:unalias@
-Removes an alias.
+%9Parameters%9
+
+ The name of the alias.
+
+%9Description:%9
+
+ Removes an alias.
+
+%9Examples:%9
+
+ /UNALIAS BAN
+ /UNALIAS K
-See also: ALIAS
+%9See also:%9 ALIAS
diff --git a/docs/help/in/unban.in b/docs/help/in/unban.in
index 556b08e9..810acf55 100644
--- a/docs/help/in/unban.in
+++ b/docs/help/in/unban.in
@@ -1,13 +1,45 @@
+%9Syntax:%9
+
@SYNTAX:unban@
-Removes the specified ban(s) from the channel.
+%9Parameters:%9
+
+ -normal: Uses the *!*user@*.domain.tld format.
+ -user: Uses the *!*user@* format.
+ -host: Uses the *!*@host.domain.tld format.
+ -domain: Uses the *!*@*.domain.tld format.
+ -custom: Uses the custom format.
+ -first: Removes the first ban from the list.
+ -last: Removes the last ban from the list.
+
+ A channel and the nicknames, hostnames or ban identifier to unban; if no
+ channel is given, the active channel will be used.
+
+ If no ban format parameter is given, the value of the ban_type setting will
+ be used to generate the hostmask to ban.
+
+%9Description:%9
+
+ Removes one or more bans from a channel.
+
+%9Configuring the custom format:%9
+
+ You must set the custom ban_type to the format you would like to use. For
+ example, if you set the custom ban_type to "nick domain", it will generate
+ a ban based on the nick!*@*.domain.tld format.
+
+%9Examples:%9
+
+ /UNBAN mike
+ /UNBAN -host bob
+ /UNBAN *!*@*.irssi.org
+ /UNBAN *!*@*.users.irssi.org *!*@*.staff.irssi.org
+ /UNBAN -first
+ /UNBAN 5
+
+ /SET ban_type custom nick domain
+ /SET ban_type custom user host
-Examples:
- /UNBAN *!*@*.fi
- /UNBAN larry!*@* *!me@*.mydomain.net
- /UNBAN 3 - removes 3rd ban in list
- /UNBAN -first - removes 1st ban (equal to /UNBAN 1)
- /UNBAN -last - removes last ban in list
-See also: BAN, KNOCKOUT
+%9See also:%9 BAN, DEOP, KICKBAN, KNOCKOUT, OP
diff --git a/docs/help/in/unignore.in b/docs/help/in/unignore.in
index 784be9a2..a3538508 100644
--- a/docs/help/in/unignore.in
+++ b/docs/help/in/unignore.in
@@ -1,8 +1,20 @@
+%9Syntax:%9
+
@SYNTAX:unignore@
-Unignores the specified userhost mask. If you want to unignore only some
-levels, use /IGNORE <mask> -<level>.
+%9Parameters:%9
+
+ The ignore identifier or pattern to remove.
+
+%9Description:%9
+
+ Removes an entry from the ignore list.
+
+%9Examples:%9
+
+ /UNIGNORE 5
+ /UNIGNORE mike
-See also: IGNORE
+%9See also:%9 ACCEPT, IGNORE, SILENCE
diff --git a/docs/help/in/unload.in b/docs/help/in/unload.in
index 4bfdeb95..b804e093 100644
--- a/docs/help/in/unload.in
+++ b/docs/help/in/unload.in
@@ -1,8 +1,19 @@
+%9Syntax:%9
+
@SYNTAX:unload@
-Unload a running plugin. List of running plugins can be shown with
-/LOAD.
+%9Parameters:%9
+
+ The name of the module to unload.
+
+%9Description:%9
+
+ Removes a module from the memory.
+
+%9Examples:%9
+
+ /UNLOAD fish
-See also: LOAD
+%9See also:%9 LOAD, SCRIPT
diff --git a/docs/help/in/unnotify.in b/docs/help/in/unnotify.in
index 5d74ce80..1dfbb400 100644
--- a/docs/help/in/unnotify.in
+++ b/docs/help/in/unnotify.in
@@ -1,7 +1,20 @@
+%9Syntax:%9
+
@SYNTAX:unnotify@
-Removes an entry from the notify list.
+%9Parameters:%9
+
+ The notify pattern to remove.
+
+%9Description:%9
+
+ Removes an entry from the notify list.
+
+%9Examples:%9
+
+ /UNNOTIFY bob
+ /UNNOTIFY *!*@staff.irssi.org
-See also: NOTIFY
+%9See also:%9 AWAY, HILIGHT, NOTIFY
diff --git a/docs/help/in/unquery.in b/docs/help/in/unquery.in
index 0d488c64..404c9542 100644
--- a/docs/help/in/unquery.in
+++ b/docs/help/in/unquery.in
@@ -1,7 +1,21 @@
-@SYNTAX:unquery@
+%9Syntax:%9
-Removes a query window of specified nick.
+@SYNTAX:unnotify@
-See also: QUERY, SET QUERY
+%9Parameters:%9
+
+ The nickname to close the query for; if no argument is given, the active
+ query is used.
+
+%9Description:%9
+
+ Closes a query window for a nickname.
+
+%9Examples:%9
+
+ /UNQUERY
+ /UNQUERY mike
+
+%9See also:%9 MSG, QUERY, WINDOW
diff --git a/docs/help/in/unsilence.in b/docs/help/in/unsilence.in
index c46f77a7..1e6d226d 100644
--- a/docs/help/in/unsilence.in
+++ b/docs/help/in/unsilence.in
@@ -1,9 +1,21 @@
+%9Syntax:%9
+
@SYNTAX:unsilence@
-Works only in some IRC networks.
+%9Parameters:%9
+
+ The silence pattern to remove.
+
+%9Description:%9
+
+ Removes an entry from the silence list. This command does not work on all
+ IRC networks.
+
+%9Examples:%9
-Removes a pattern from your silence list.
+ /UNSILENCE mike
+ /UNSILENCE *!*@*.irssi.org
-See also: SILENCE
+%9See also:%9 ACCEPT, IGNORE, SILENCE
diff --git a/docs/help/in/upgrade.in b/docs/help/in/upgrade.in
index b130aff1..b7f0101f 100644
--- a/docs/help/in/upgrade.in
+++ b/docs/help/in/upgrade.in
@@ -1,10 +1,22 @@
+%9Syntax:%9
+
@SYNTAX:upgrade@
-Upgrade irssi to new version on-the-fly without disconnecting from
-server, so other people won't even notice you quit from IRC. This ONLY
-executes the new binary, it does NOT download/compile/whatever irssi.
+%9Parameters:%9
+
+ The location of the new binary; if no arguments are given, the current
+ binary file is used.
+
+%9Description:%9
+
+ Upgrades to a new version without disconnecting from non-SSL servers; please
+ bear in mind that it does not download or compile a new version.
+
+%9Examples:%9
+
+ /UPGRADE
+ /UPGRADE /home/mike/irssi-dev/bin/irssi
-Warning: This will not work with SSL connections to IRC, you will be
-disconnected.
+%9See also:%9 CONNECT, DISCONNECT, HELP
diff --git a/docs/help/in/uping.in b/docs/help/in/uping.in
deleted file mode 100644
index 0fc003b8..00000000
--- a/docs/help/in/uping.in
+++ /dev/null
@@ -1,12 +0,0 @@
-
-@SYNTAX:uping@
-
-IRC Operator command. Works only in the Undernet and Open Projects (ircu).
-
-This command works like the PING command (CTCP PING), except
-it is used on a server instead of a client. As with PING, it
-is used to test the relative distance another server is from
-you across the irc network.
-
-See also: RPING, OPER
-
diff --git a/docs/help/in/userhost.in b/docs/help/in/userhost.in
index 74550448..48936499 100644
--- a/docs/help/in/userhost.in
+++ b/docs/help/in/userhost.in
@@ -1,7 +1,22 @@
+%9Syntax:%9
+
@SYNTAX:userhost@
-Shows the user@host, IRC operator (*) and away (-) status of the specified nick.
+%9Parameters:%9
+
+ One or more nicknames separated by space.
+
+%9Description:%9
+
+ Displays the user@host for the given nicknames; some common added attributes
+ are '*' to identify an IRC operator, '-' and '+' to indicate whether the
+ nickname is AWAY or available.
+
+%9Examples:%9
+
+ /USERHOST mike
+ /USERHOST bob sarah
-See also: WHOIS
+%9See also:%9 WHOIS
diff --git a/docs/help/in/ver.in b/docs/help/in/ver.in
index db0ea5cf..1e1afcc1 100644
--- a/docs/help/in/ver.in
+++ b/docs/help/in/ver.in
@@ -1,9 +1,22 @@
+%9Syntax:%9
+
@SYNTAX:ver@
-Sends a CTCP VERSION request to a nick or channel.
-This is used to find out which client and/or
-script the nick is using.
+%9Parameters:%9
+
+ A nickname, channel or the wildcard character '*'.
+
+%9Description:%9
+
+ Send a CTCP VERION request to the target nickname, channel or to all the
+ users on the channel.
+
+%9Examples:%9
+
+ /VER *
+ /VER #irssi
+ /VER mike
-See also: CTCP
+%9See also:%9 CTCP
diff --git a/docs/help/in/version.in b/docs/help/in/version.in
index a7dd5c6f..30c853a1 100644
--- a/docs/help/in/version.in
+++ b/docs/help/in/version.in
@@ -1,8 +1,21 @@
+%9Syntax:%9
+
@SYNTAX:version@
-Shows the version info of the current or specified
-IRC server.
+%9Parameters:%9
+
+ A nickname or server; if no argument is given, the active server is used.
+
+%9Description:%9
+
+ Displays the version and compatibility parameters of the given server, or
+ for the server the target nickname is on.
+
+%9Examples:%9
+
+ /VERSION mike
+ /VERSION ircsource.irssi.org
-See also: ADMIN, STATS
+%9See also:%9 ADMIN, STATS
diff --git a/docs/help/in/voice.in b/docs/help/in/voice.in
index ee6f243e..46537841 100644
--- a/docs/help/in/voice.in
+++ b/docs/help/in/voice.in
@@ -1,8 +1,23 @@
+%9Syntax:%9
+
@SYNTAX:voice@
-Gives the voice (+v mode) to the nick(s) on the current channel.
-Wildcards in the nick are allowed.
-
-See also: DEVOICE, OP, DEOP
+%9Parameters:%9
+
+ A list of nicknames to voice.
+
+%9Description:%9
+
+ Grants the channel voice privileges to the given nicknames; you may use
+ the wildcard character "*" in a nickname.
+
+%9Examples:%9
+
+ /VOICE mike
+ /VOICE bob sarah
+ /VOICE jo*n
+ /VOICE *
+
+%9See also:%9 DEOP, DEVOICE, KICK, MODE, OP
diff --git a/docs/help/in/wait.in b/docs/help/in/wait.in
index 8b41ec73..263b9fb8 100644
--- a/docs/help/in/wait.in
+++ b/docs/help/in/wait.in
@@ -1,10 +1,21 @@
+%9Syntax:%9
+
@SYNTAX:wait@
-Wait for <milliseconds> before sending the next command to server.
+%9Parameters:%9
+
+ The amount of milliseconds.
+
+%9Description:%9
+
+ Waits the specified amount of milliseconds before sending the next command
+ to the server.
+
+%9Examples:%9
+
+ /WAIT 1000
+ /WAIT 5000
-This could be useful for example when identifying to NickServ; after
-sending the identify message you'd wait 3 seconds before joining to
-channels so any host changes are processed and you can join
-registered-only channels.
+%9See also:%9 ALIAS
diff --git a/docs/help/in/wall.in b/docs/help/in/wall.in
index f1518672..bf1fc12e 100644
--- a/docs/help/in/wall.in
+++ b/docs/help/in/wall.in
@@ -1,8 +1,23 @@
+%9Syntax:%9
+
@SYNTAX:wall@
-This command sends a message to all operators in a channel. If the server
-supports WALLCHOPS or STATUSMSG=@, it sends a notice to @#channel.
-Otherwise it sends a notice separately to each operator, which may not
-be a very good idea to use in a channel with lots of operators.
+%9Parameters:%9
+
+ The channel and the message; if no channel is given, the active channel
+ will be used.
+
+%9Description:%9
+
+ Sends a message to all channel operators. If the server doesn't support
+ WALLCHOPS or STATUSMSG it will send a notice to each channel operator
+ individually.
+
+%9Examples:%9
+
+ /WALL I'm off for today; take care! :)
+ /WALL #irssi I'm feeling supercalifragilisticexpialidocious today :D
+
+%9See also:%9 MSG, NOTICE
diff --git a/docs/help/in/wallops.in b/docs/help/in/wallops.in
index 2c9c51a1..dfc3f5d9 100644
--- a/docs/help/in/wallops.in
+++ b/docs/help/in/wallops.in
@@ -1,9 +1,20 @@
+%9Syntax:%9
+
@SYNTAX:wallops@
-IRC operator command.
+%9Parameters:%9
+
+ The message to broadcast.
+
+%9Description:%9
+
+ Sends a network wide message to all the users which have the usermode 'w'
+ enabled; this command is restricted to IRC operators.
+
+%9Examples:%9
+
+ /WALLOPS Hi everybody!
-This command sends the given message to everyone on
-the network who has user mode +w turned on.
+%9See also:%9 OPER, STATS
-See also: OPER, WALLOPS
diff --git a/docs/help/in/watch.in b/docs/help/in/watch.in
deleted file mode 100644
index 57602053..00000000
--- a/docs/help/in/watch.in
+++ /dev/null
@@ -1,18 +0,0 @@
-
-WATCH %|[[+|-]<nick>][ [+|-]<nick> ...]
-
-Works only in networks using Bahamut ircd.
-
-WATCH is somewhat equal to ISON/NOTIFY, but server-based. With WATCH
-server sends status information to client, instead of client sending
-ISON's. Therefore WATCH is technically a bit smarter solution than
-ISON/NOTIFY. The only disadvantage is your WATCH list not being
-"saved". Once you disconnect, your WATCH list will get cleared.
-
-WATCH is based on a nick, and must be prepended with a plus ('+') to be
-added to your watch list. A minus sign ('-') will remove an entry from
-the list. With no arguments, WATCH returns a list of your WATCH list
-entries.
-
-See also: NOTIFY, WHOIS, WHOWAS
-
diff --git a/docs/help/in/who.in b/docs/help/in/who.in
index b8f0b584..dffbb1f2 100644
--- a/docs/help/in/who.in
+++ b/docs/help/in/who.in
@@ -1,31 +1,36 @@
+%9Syntax:%9
+
@SYNTAX:who@
-Without parameters, shows all users and their user infos
-on the current channel. If you specify a channel, shows
-all users on the given channel.
-
-If you specify an string with wildcards, you will be
-shown all users whose nick, userhost or realname matches
-the wildcard expression.
-
-If a channel is secret and you're not on it, you will not
-get any output. Otherwise if you're not on it, you will be
-shown only those channel members who do not have the
-invisible (+i) mode set.
-
-The flags field has the following meaning:
- H - The user is not away (here).
- G - The user is set away (gone).
- * - The user is an IRC operator.
- @ - The user is a channel op in the channel listed.
- + - The user is voiced in the channel listed.
-
-Examples:
- /WHO - Shows users on current channel
- /WHO #irssi - Shows users on channel #irssi
- /WHO timo* - Shows users whose nick, userhost,
- or realname begins with string 'timo'
-
-See also: WHOIS, NAMES, CHANNEL
+%9Parameters:%9
+
+ The channel name or output filter; if no arguments are given, the current
+ channel will be used.
+
+%9Description:%9
+
+ Displays information about users in the specified channel. If you specify a
+ filter, all the users whos nick, userhost or realname matches the filter
+ will be returned.
+
+ If the channel is secret and you are not on it, you will not receive any
+ output.
+
+ Common flags:
+
+ H: The user is available.
+ G: The user is away.
+ *: The user is an IRC operator.
+ @: The user is a channel operator.
+ +: The user is a channel voice.
+
+%9Examples:%9
+
+ /WHO
+ /WHO #irssi
+ /WHO bob
+ /WHO sar*
+
+%9See also:%9 CHANNEL, NAMES, WHOIS
diff --git a/docs/help/in/whois.in b/docs/help/in/whois.in
index 56ca30e4..b2801c5a 100644
--- a/docs/help/in/whois.in
+++ b/docs/help/in/whois.in
@@ -1,15 +1,30 @@
+%9Syntax:%9
+
@SYNTAX:whois@
-Shows whois information of the specified nick.
-By default, this is aliased to /WI.
+%9Parameters:%9
+
+ -<server tag>: The server tag the target nickname is on.
+
+ The remote server to query and the nicknames; if no remote server is given,
+ the server you are connected to will be used. If no nickname is given, you
+ will query yourself.
+
+%9Description:%9
+
+ Displays information about users in the specified channel; you may give the
+ same nickname as the argument twice to also query the idle time.
+
+ If the nickname is not online, the WHOWAS command will be automatically
+ performed.
-/WHOIS nick1 nick1 also queries the idle time of
-the user. This is aliased to /WII by default.
+%9Examples:%9
-If given nick is not in the IRC, irssi automatically
-sends a WHOWAS query. Read carefully the reply to see
-if it is a WHOIS or WHOWAS reply.
+ /WHOIS
+ /WHOIS mike
+ /WHOIS ircsource.irssi.org bob
+ /WHOIS sarah sarah
-See also: WHO, CHANNEL
+%9See also:%9 CHANNEL, NAMES, WHO, WHOWAS
diff --git a/docs/help/in/whowas.in b/docs/help/in/whowas.in
index 2c7c68bc..3dec6d29 100644
--- a/docs/help/in/whowas.in
+++ b/docs/help/in/whowas.in
@@ -1,19 +1,24 @@
+%9Syntax:%9
+
@SYNTAX:whowas@
-This command is similar to WHOIS, except it returns information
-about nicknames that were recently in use. Like WHOIS, it shows
-the nickname, address, real name, and server. It may also return
-multiple entries if the nickname has been used recently by several
-people. These multiples may be limited by specifying a count to show.
+%9Parameters:%9
+
+ The nicknames, the maximum amount of results and the remote server. If no
+ arguments are given, your own nickname will be used. If no remote server is
+ given, the server you are connected to will be used.
-WHOWAS will work regardless of whether the queried nick is in use.
-If no arguments are given, the client's current nickname is used.
+%9Description:%9
-Example: To show the last 5 users of the nickname JoeBob:
+ Displays historical user information.
-/whowas joebob 5
+%9Examples:%9
+ /WHOWAS
+ /WHOWAS mike
+ /WHOWAS bob 10
+ /WHOWAS sarah 5 ircsource.irssi.org
-See also: WHOIS
+%9See also:%9 CHANNEL, NAMES, WHO, WHOIS
diff --git a/docs/help/in/window.in b/docs/help/in/window.in
index cd7acae2..b84256a1 100644
--- a/docs/help/in/window.in
+++ b/docs/help/in/window.in
@@ -1,46 +1,71 @@
+%9Syntax:%9
+
@SYNTAX:window@
-This command includes various subcommands for handling
-irssi windows.
-
-/WINDOW CLOSE
- - Closes the current window.
-/WINDOW MOVE #NUMBER|LEFT|RIGHT
- - Moves current window to another position in the
- window list.
-/WINDOW GOTO #NUMBER
- - Moves into the specified window.
-/WINDOW GOTO ACTIVE
- - finds the first window with the higest
- activity (msgs to you -> msgs -> rest). Alt-A is
- the default shortcut key for this
-/WINDOW GOTO #CHANNEL|NICK|=NICK
- - moves you to the window with the channel, query or
- dcc chat.
-/WINDOW LEVEL [+/-]PUB/MSGS/...
- - /window level msgs - creates messages window
- - /window level all -msgs - creates status window
-/WINDOW NEW [HIDDEN|SPLIT]
- - creates new hidden/splitted window,
-/WINDOW ITEM MOVE <number>|<name>
- - with a numeric argument, moves the active window
- item of the active window to the window with
- refnum <number>.
- with a string argument, moves the window item with
- name <name> to the active window.
-
-Window logging
-
-/WINDOW LOG ON|OFF|TOGGLE [<filename>]
- - Start/stop logging the active window. This works exactly like
- /LOG OPEN -window.
-/WINDOW LOGFILE <filename>
- - Sets the default log file to use in the window, it can be
- overridden by specifying the file name in /WINDOW LOG.
- If no file name is given, Irssi defaults to
- ~/irc.log.<windowname> or ~/irc.log.Window<ref#> if window
- doesn't have a name.
-
-See also: SET CREATE, JOIN, QUERY, LOG, LEVELS
+%9Parameters:%9
+
+ LOG: Modifies the logging status.
+ LOGFILE: Modifies the location to the logfile.
+ NEW: Creates a new window.
+ CLOSE: Closes a window.
+ REFNUM: Go to the window with the given number.
+ GOTO: Go to the window with the given nickname, channel or number.
+ NEXT: Go to the next window.
+ LAST: Go to the last window.
+ PREVIOUS: Go to the previous window.
+ LEVEL: Modifies the text levels to display in the window.
+ IMMORTAL: Modifies the window mortality status.
+ SERVER: Set the active server of the window.
+ ITEM PREV: Go to the previous item in the window.
+ ITEM NEXT: Go to the next item in the window.
+ ITEM GOTO: Go to the specified nickname, channel or window item number.
+ ITEM MOVE: Move the active window item to another window.
+ NUMBER: Move the active window to another position.
+ NAME: Give the window a name.
+ HISTORY: Clears the window history buffer.
+ MOVE PREV: Move the window down.
+ MOVE NEXT: Move the window up.
+ MOVE FIRST: Move the window to the first position.
+ MOVE LAST: Move the window to the last psotion.
+ MOVE: Move the window.
+ LIST: List all the windows.
+ THEME: Applies a theme to the windows.
+ GROW: Increase the window size when using split windows.
+ SHRINK: Decrease the window size when using split windows.
+ SIZE: Modify the window size when using split windows.
+ BALANCE: Balance the window locations when using split windows.
+ HIDE: Hide the window when using split windows.
+ SHOW: Show the window when using split windows.
+ UP: Go to the window above when using split windows.
+ DOWN: Go to the window below when using split windows.
+ LEFT: Go to the previous window.
+ RIGHT: Go to the next window.
+ STICK: Make the window sticky.
+ MOVE LEFT: Move the window to the previous location.
+ MOVE RIGHT: Move the window to the next location.
+ MOVE UP: Move the window up when using split windows.
+ MOVE DOWN: Move the window down when using split windows.
+
+ Add the required arguments for the given command.
+
+%9Description:%9
+
+ Manipulates the window layout and positioning attributes.
+
+%9Examples:%9
+
+ /WINDOW CLOSE
+ /WINDOW ITEM MOVE 10
+ /WINDOW GOTO 15
+ /WINDOW GOTO ACTIVE
+ /WINDOW GOTO mike
+ /WINDOW GOTO #irssi
+ /WINDOW NEW HIDDEN
+ /WINDOW LOG OFF
+ /WINDOW LOG ON ~/logs/debug.log
+ /WINDOW LEVEL -ALL +NOTICES
+ /WINDOW LOGFILE ~/logs/notices.log
+
+%9See also:%9 JOIN, LEVELS, LOG, QUERY
diff --git a/docs/help/in/wjoin.in b/docs/help/in/wjoin.in
deleted file mode 100644
index 8386e178..00000000
--- a/docs/help/in/wjoin.in
+++ /dev/null
@@ -1,9 +0,0 @@
-
-@SYNTAX:wjoin@
-
-With this you can join multiple channels in same
-window. This command does the same as /JOIN but
-it doesn't create a new window for the channel joined.
-
-See also: JOIN, WINDOW
-
diff --git a/docs/help/in/wquery.in b/docs/help/in/wquery.in
deleted file mode 100644
index ae4799af..00000000
--- a/docs/help/in/wquery.in
+++ /dev/null
@@ -1,8 +0,0 @@
-
-@SYNTAX:wquery@
-
-Starts a query in the current window without
-opening a new window.
-
-See also: QUERY, WINDOW, SET AUTOCREATE
-
diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c
index 2f33a26c..239c5a64 100644
--- a/src/irc/core/irc-commands.c
+++ b/src/irc/core/irc-commands.c
@@ -1012,8 +1012,6 @@ void irc_commands_init(void)
command_bind_irc("restart", NULL, (SIGNAL_FUNC) command_self);
/* SYNTAX: SQUIT <server>|<mask> <reason> */
command_bind_irc("squit", NULL, (SIGNAL_FUNC) command_2self);
- /* SYNTAX: UPING <server> */
- command_bind_irc("uping", NULL, (SIGNAL_FUNC) command_self);
/* SYNTAX: USERHOST <nicks> */
command_bind_irc("userhost", NULL, (SIGNAL_FUNC) command_self);
command_bind_irc("quote", NULL, (SIGNAL_FUNC) cmd_quote);
@@ -1081,7 +1079,6 @@ void irc_commands_deinit(void)
command_unbind("oper", (SIGNAL_FUNC) cmd_oper);
command_unbind("restart", (SIGNAL_FUNC) command_self);
command_unbind("squit", (SIGNAL_FUNC) command_2self);
- command_unbind("uping", (SIGNAL_FUNC) command_self);
command_unbind("userhost", (SIGNAL_FUNC) command_self);
command_unbind("quote", (SIGNAL_FUNC) cmd_quote);
command_unbind("wall", (SIGNAL_FUNC) cmd_wall);