diff options
85 files changed, 857 insertions, 493 deletions
diff --git a/docs/help/in/alias.in b/docs/help/in/alias.in index 13fcb55a..5cea00c0 100644 --- a/docs/help/in/alias.in +++ b/docs/help/in/alias.in @@ -6,16 +6,16 @@ %9Parameters:%9 A name of the alias and the command to execute. You can prepend the alias - with the "-" character to remove the alias; if no argument is given, your + with the '-' character to remove the alias; if no argument is given, your aliases will be displayed. %9Description:%9 - Creates or updates an alias; you can use the ";" character to separate + Creates or updates an alias; you can use the ';' character to separate multiple commands. - The parametesr given to the alias are expanded in "$[\d]" For example $0, - $1, $2, $8, $12, ... + The parameters given to the alias are expanded in '$[\d]'; for example $0, + $1, $2, $8, ..., as well as any other special variable. If you don't use any parameters in your alias, all parameters will be automatically appended after it. @@ -29,5 +29,9 @@ /ALIAS UNACT SCRIPT EXEC \$_->activity(0) for Irssi::windows /ALIAS QOP ^MSG Q op $C +%9References:%9 + + https://github.com/irssi/irssi/blob/master/docs/special_vars.txt + %9See also:%9 BIND, UNALIAS diff --git a/docs/help/in/away.in b/docs/help/in/away.in index 16479856..e0cf3685 100644 --- a/docs/help/in/away.in +++ b/docs/help/in/away.in @@ -12,11 +12,11 @@ %9Description:%9 - Marks yourself as "away"; this method is used to inform people that you + Marks yourself as 'away'; this method is used to inform people that you are not paying attention to your screen. You might use it when you are taking a nap, in the shower, getting some - food, or otherwise engaged. When you're "away" you will see "(zZzZ)" in + food, or otherwise engaged. When you're 'away' you will see '(zZzZ)' in your statusbar. Anyone who does a WHOIS on your nickname will see that you are away, as diff --git a/docs/help/in/ban.in b/docs/help/in/ban.in index c43c63dd..724815a0 100644 --- a/docs/help/in/ban.in +++ b/docs/help/in/ban.in @@ -24,7 +24,7 @@ %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 + 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 @@ -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/channel.in b/docs/help/in/channel.in index f26b6959..01bea3c1 100644 --- a/docs/help/in/channel.in +++ b/docs/help/in/channel.in @@ -19,7 +19,7 @@ If no parameters are given, the list of channels you have joined will be displayed. - + %9Description:%9 Adds, removes or displays the configuration of channels; this method is @@ -34,8 +34,8 @@ /CHANNEL LIST /CHANNEL ADD -auto #irssi Freenode /CHANNEL ADD -auto #basementcat Quakenet secret_lair - /CHANNEL ADD -auto -bots "*!@*.irssi.org *!bot@irssi.org" -botcmd "msg $0 op WzerTrzq" #hideout Freenode - /CHANNEL ADD -auto -bots "Q!TheQBot@CServe.quakenet.org" -botcmd "^MSG Q op #irssi" #irssi Quakenet + /CHANNEL ADD -auto -bots '*!@*.irssi.org *!bot@irssi.org' -botcmd 'msg $0 op WzerTrzq' #hideout Freenode + /CHANNEL ADD -auto -bots 'Q!TheQBot@CServe.quakenet.org' -botcmd '^MSG Q op #irssi' #irssi Quakenet /CHANNEL REMOVE #hideout Freenode %9Special Example:%9 diff --git a/docs/help/in/clear.in b/docs/help/in/clear.in index ad5b8bf8..d43830dd 100644 --- a/docs/help/in/clear.in +++ b/docs/help/in/clear.in @@ -8,7 +8,7 @@ -all: Clear all the windows The window number to clear; if no argument is given, the active window - is used. + will be used. %9Description:%9 diff --git a/docs/help/in/completion.in b/docs/help/in/completion.in index 140b1cb1..4275e34e 100644 --- a/docs/help/in/completion.in +++ b/docs/help/in/completion.in @@ -5,9 +5,10 @@ %9Parameters:%9 - -auto: Inserts the completion without pressing a word completion character. + -auto: Inserts the completion without pressing a word completion + character. -delete: Removes the completion from the configuration. - + A key and the value to use as a replacement. If no argument is given, the list of completions will be displayed. @@ -19,7 +20,7 @@ When a replacement has been found, Irssi will choose the most probable matching word and replaces it; you may press TAB repeatedly to swap between matches. - + If you want to remove a completion which has the auto parameter set, you need to enclose the completion between "'" characters. diff --git a/docs/help/in/dcc.in b/docs/help/in/dcc.in index 59ac5036..c348b1ae 100644 --- a/docs/help/in/dcc.in +++ b/docs/help/in/dcc.in @@ -27,19 +27,19 @@ and file transfers. If you are behind NAT, or if the firewall is too restrictive, you might - want to try if using the passive parameter resolved your conneciton + want to try if using the passive parameter resolved your connection problem. You can send files which contain special character or spaces by enclosing - the filename within quotes. For example: "my file with spaces.txt". + the filename within quotes. For example: 'my file with spaces.txt'. %9Examples:%9 /DCC CHAT mike - /DCC GET bob "summer vacation.mkv" + /DCC GET bob 'summer vacation.mkv' /DCC SEND sarah documents/resume.pdf /DCC CLOSE mike - /DCC CLOSE bob "summer vacation.mkv" + /DCC CLOSE bob 'summer vacation.mkv' %9See also:%9 CD diff --git a/docs/help/in/deop.in b/docs/help/in/deop.in index 14c2431a..9f70cdef 100644 --- a/docs/help/in/deop.in +++ b/docs/help/in/deop.in @@ -10,7 +10,7 @@ %9Description:%9 Removes the channel operator privileges from the given nicknames; you may - use the wildcard character "*" in a nickname. + use the wildcard character '*' in a nickname. %9Examples:%9 diff --git a/docs/help/in/devoice.in b/docs/help/in/devoice.in index dae1d0f6..11e3d53b 100644 --- a/docs/help/in/devoice.in +++ b/docs/help/in/devoice.in @@ -10,7 +10,7 @@ %9Description:%9 Removes the channel voice privileges from the given nicknames; you may use - the wildcard character "*" in a nickname. + the wildcard character '*' in a nickname. If a channel is moderated, the users will require a voice or op in order to be able to send messages to the channel. diff --git a/docs/help/in/disconnect.in b/docs/help/in/disconnect.in index 4699b79c..ace1a3df 100644 --- a/docs/help/in/disconnect.in +++ b/docs/help/in/disconnect.in @@ -5,15 +5,15 @@ %9Parameters:%9 - The network to disconnect from and the message to advertise; if no parameters - are given, the active server will be used. + The network to disconnect from and the message to advertise; if no + parameters are given, the active server will be used. %9Description:%9 Disconnects from one or more IRC servers; the list of all the servers you are connected to can be retrieved via the SERVER command. - Use the wildcard character "*" if you want to disconnect from all servers. + Use the wildcard character '*' if you want to disconnect from all servers. %9Examples:%9 diff --git a/docs/help/in/eval.in b/docs/help/in/eval.in index 74a0c536..b2d4b625 100644 --- a/docs/help/in/eval.in +++ b/docs/help/in/eval.in @@ -10,9 +10,9 @@ %9Description:%9 Evaluates the given commands and executes them; you can use internal - variables and separate multiple commands by using the ";" character. + variables and separate multiple commands by using the ';' character. -%9Examples%9 +%9Examples:%9 /EVAL echo I am connected to ${S} on ${chatnet} as ${N} /EVAL echo My user privileges are +${usermode}; echo Let's party! diff --git a/docs/help/in/exec.in b/docs/help/in/exec.in index 2cca5ce3..2947ae2e 100644 --- a/docs/help/in/exec.in +++ b/docs/help/in/exec.in @@ -9,7 +9,8 @@ -nosh: Doesn't execute the command through /bin/sh. -out: Sends the output to the active channel or query. -msg: Sends the output to the specified nickname or channel. - -notice: Sends the output to the specified nickname or channel as notices. + -notice: Sends the output to the specified nickname or channel as + notices. -name: Gives the process the specified name. -window: Displays the output in the active window. -close: Forcibly closes a process that doesn't die. @@ -29,7 +30,7 @@ The output of the process can be redirected to various targets, such as a window, a channel, a nickname or a query. - The process identifier must always begin with the "%%" character. For + The process identifier must always begin with the '%%' character. For example %%0. If you remove a process with the close parameter, it will only make Irssi diff --git a/docs/help/in/flushbuffer.in b/docs/help/in/flushbuffer.in index 9b1400b9..85493038 100644 --- a/docs/help/in/flushbuffer.in +++ b/docs/help/in/flushbuffer.in @@ -5,12 +5,13 @@ %9Description:%9 - Forces an immediate flush of the buffers if the related settings are enabled. + Forces an immediate flush of the buffers if the related settings are + enabled. %9Examples:%9 /FLUSHBUFFER - + /SET write_buffer_size /SET write_buffer_timeout diff --git a/docs/help/in/ignore.in b/docs/help/in/ignore.in index a247dcc8..8c2b1c90 100644 --- a/docs/help/in/ignore.in +++ b/docs/help/in/ignore.in @@ -9,7 +9,8 @@ -full: Indicates that the pattern must match a full word. -pattern: The text pattern to ignore. -except: Negates the ignore. - -replies: Also ignore nicknames who are talking to anyone who matches the ignore. + -replies: Also ignore nicknames who are talking to anyone who matches + the ignore. -network: Ignores only on a specific network. -channels: Ignores only on specific channels. -time: The timeout to automatically remove the ignore. @@ -21,8 +22,8 @@ Ignores nicknames or text that matches a pattern. - The special level "NO_ACT" can be used to ignore activity in the statusbar - without actually ignoring the message; this behaviour is somewhat special + The special level 'NO_ACT' can be used to ignore activity in the statusbar + without actually ignoring the message; this behavior is somewhat special because it is allowed in addition to other ignores for the same target. %9Examples:%9 diff --git a/docs/help/in/invitelist.in b/docs/help/in/invitelist.in deleted file mode 100644 index e516b31a..00000000 --- a/docs/help/in/invitelist.in +++ /dev/null @@ -1,20 +0,0 @@ - -%9Syntax:%9 - -INVITELIST - -%9Description:%9 - - Displays the invitelist for the active channel; nicknames who match the - masks will be able to join the channel if its invite only. - - This is not a command, but a default alias. - -%9Examples:%9 - - /INVITELIST - -%9References:%9 - - /ALIAS INVITELIST MODE $C +I - diff --git a/docs/help/in/join.in b/docs/help/in/join.in index 6cdfd745..39fa23f8 100644 --- a/docs/help/in/join.in +++ b/docs/help/in/join.in @@ -9,7 +9,7 @@ -invite Joins the channel you were last invited to. -<server tag> The server tag on which you want to join the channel. - The channel names, separated by a commma, to join and the channel key. + The channel names, separated by a comma, to join and the channel key. %9Description:%9 diff --git a/docs/help/in/kick.in b/docs/help/in/kick.in index 00586059..eb926c09 100644 --- a/docs/help/in/kick.in +++ b/docs/help/in/kick.in @@ -3,7 +3,7 @@ @SYNTAX:kick@ -%9Parameters%9 +%9Parameters:%9 The channel and the nicknames, separated by a comma, to kick from the channel and the reason thereof; if no channel is given, the active channel diff --git a/docs/help/in/kickban.in b/docs/help/in/kickban.in index 3aef99cf..b2950f46 100644 --- a/docs/help/in/kickban.in +++ b/docs/help/in/kickban.in @@ -5,9 +5,9 @@ %9Parameters:%9 - The channel and the nicknames, separated by a comma, to kickban from the - channel and the reason thereof; if no channel is given, the active channel - will be used. + The channel and the nicknames, separated by a comma, to kick and ban from + the channel and the reason thereof; if no channel is given, the active + channel will be used. %9Description:%9 diff --git a/docs/help/in/knock.in b/docs/help/in/knock.in index f5c2cf53..bb554d55 100644 --- a/docs/help/in/knock.in +++ b/docs/help/in/knock.in @@ -11,7 +11,7 @@ Sends an invitation request to the channel operators of the target channel; this command may not work on all IRC servers. - + The following conditions must be met: * You are not banned from the channel. diff --git a/docs/help/in/lastlog.in b/docs/help/in/lastlog.in index 41522cb2..e7b90d42 100644 --- a/docs/help/in/lastlog.in +++ b/docs/help/in/lastlog.in @@ -5,7 +5,7 @@ %9Parameters:%9 - -: Doesn't print the "Lastlog:" and "End of Lastlog" messages. + -: Doesn't print the 'Lastlog:' and 'End of Lastlog' messages. -file: Output the lastlog to a file instead of the active window. -window: Specifies the window to check. -new: Only displays results since the previous lastlog. @@ -30,8 +30,8 @@ %9Examples:%9 /LASTLOG holiday - /LASTLOG "is on vacation" - /LASTLOG -file -force ~/mike.log "mike" + /LASTLOG 'is on vacation' + /LASTLOG -file -force ~/mike.log 'mike' %9See also:%9 HILIGHT, SCROLLBACK diff --git a/docs/help/in/layout.in b/docs/help/in/layout.in index 041549d1..4b0a2efe 100644 --- a/docs/help/in/layout.in +++ b/docs/help/in/layout.in @@ -8,7 +8,7 @@ SAVE: Saves your layout to the configuration. RESET: Removes the saved layout from the configuration. -%9Descripton:%9 +%9Description:%9 Saves the layout of your window configuration; the next time you connect to the server, you will join the channels in the same window as before. diff --git a/docs/help/in/levels.in b/docs/help/in/levels.in index c44a551a..429dd7c0 100644 --- a/docs/help/in/levels.in +++ b/docs/help/in/levels.in @@ -36,5 +36,5 @@ NOHILIGHT The text is not highlighted. When using levels from Irssi scripts, you need to prepend the level with - "MSGLEVEL_"; for example "CRAP" will be "MSGLEVEL_CRAP". + 'MSGLEVEL_'; for example 'CRAP' becomes 'MSGLEVEL_CRAP'. diff --git a/docs/help/in/list.in b/docs/help/in/list.in index cbce105e..14858337 100644 --- a/docs/help/in/list.in +++ b/docs/help/in/list.in @@ -5,7 +5,7 @@ %9Parameters:%9 - -yes: Comfirms that you want to receive a large amount of data. + -yes: Confirms that you want to receive a large amount of data. The text a channel must match; if no argument is given, the list of all channels will be displayed. @@ -21,5 +21,5 @@ /LIST -yes /LIST -yes *ubuntu* -See also: SQUERY +%9See also:%9 QUOTE, STATS, WHOIS diff --git a/docs/help/in/load.in b/docs/help/in/load.in index 643d09d3..56f78360 100644 --- a/docs/help/in/load.in +++ b/docs/help/in/load.in @@ -3,7 +3,7 @@ @SYNTAX:load@ -%9Parameters%9 +%9Parameters:%9 The name of the module and submodule to load. diff --git a/docs/help/in/log.in b/docs/help/in/log.in index 647d4560..e4743d46 100644 --- a/docs/help/in/log.in +++ b/docs/help/in/log.in @@ -5,8 +5,8 @@ %9Parameters:%9 - OPEN: Opens a logfile. - CLOSE: Closes a logfile. + OPEN: Opens a log file. + CLOSE: Closes a log file. START: Starts logging a log entry. STOP: Stops logging a log entry. @@ -16,7 +16,7 @@ -window: Displays the output to the active window, or the window specified in the targets parameter. -<server tag>: The server tag the targets must be on. - -targets: Logs the specified nickhames or channels. + -targets: Logs the specified nicknames or channels. -colors: Also log the color codes of the messages. The filename of the log and the levels to match; if no argument is given, @@ -24,10 +24,10 @@ %9Description:%9 - Opens a logfile and stores the messages of the given targets into it; the - logfiles will be locked so multiple clients cannot log to the same file. + Opens a log file and stores the messages of the given targets into it; the + log files will be locked so multiple clients cannot log to the same file. - You may use any of the date formats to create a logrotation; we strongly + You may use any of the date formats to create a log rotation; we strongly recommend you to enable autolog if you are interested in keeping logs. %9Examples:%9 diff --git a/docs/help/in/map.in b/docs/help/in/map.in index 81994cf2..9a80698a 100644 --- a/docs/help/in/map.in +++ b/docs/help/in/map.in @@ -5,7 +5,7 @@ %9Description:%9 - Displays the network map of an IRC network; this command is usally + Displays the network map of an IRC network; this command is usually reserved for IRC operators and does not work on all servers. %9Examples:%9 diff --git a/docs/help/in/mircdcc.in b/docs/help/in/mircdcc.in index 3282d68c..ce57a3fb 100644 --- a/docs/help/in/mircdcc.in +++ b/docs/help/in/mircdcc.in @@ -13,7 +13,7 @@ After establishing a DCC CHAT connection that you initiated, you might encounter some protocol issues if the target is using mIRC. - If you or your target sees some unexpected output or behaviour inside a DCC + If you or your target sees some unexpected output or behavior inside a DCC CHAT session, use this command to enable mIRC compatibility mode. When receiving a connection from an mIRC user, the compatibility mode will @@ -24,5 +24,5 @@ /MIRCDCC ON /MIRCDCC OFF -%9See also:%9 ACTION, DCC, CTCP +%9See also:%9 ACTION, CTCP, DCC diff --git a/docs/help/in/mode.in b/docs/help/in/mode.in index d4cf2d25..93d051fb 100644 --- a/docs/help/in/mode.in +++ b/docs/help/in/mode.in @@ -16,17 +16,17 @@ Modifies the user or channel modes for which you are privileged to modify. You can specify multiple modes in one command and prepend them by using the - "+" sign to set or "-" sign to unset; modes that require a parameter will be + '+' sign to set or '-' sign to unset; modes that require a parameter will be retrieved from the argument list. Some common channel modes are: b <mask>: Adds or removes a ban; a ban will prevent a user who matches the given mask from joining the channel unless - he or she is invited or in the excempt list. + he or she is invited or in the exempt list. e <mask>: Adds or removes a ban exception; users who match a mask - on the excempt list are able to join a channel even if - they also match an entry on the banlist. + on the exempt list are able to join a channel even if + they also match an entry on the ban list. i: When enabled, users need to be invited into the channel or have a matching entry in the invite list. I <mask>: Adds or removes an invite; users who match a mask on @@ -39,7 +39,7 @@ that may join the channel. m: When enabled, users who are not opped or voiced cannot send messages to the channel. - n: When enabled, users who are not on the channel cannnot + n: When enabled, users who are not on the channel cannot send messages to it. p: When enabled, the channel will not be displayed in your WHOIS output. @@ -73,5 +73,5 @@ /MODE +impsnkl secret_hideout 100 /MODE mike +iw -%9See also:%9 BAN, DEOP, DEVOICE, UNBAN, OP, VOICE +%9See also:%9 BAN, DEOP, DEVOICE, OP, UNBAN, VOICE diff --git a/docs/help/in/motd.in b/docs/help/in/motd.in index 5a69d59e..e33a1c75 100644 --- a/docs/help/in/motd.in +++ b/docs/help/in/motd.in @@ -1,5 +1,4 @@ - %9Syntax:%9 @SYNTAX:motd@ @@ -11,7 +10,7 @@ %9Description:%9 - Displays the "Message of the Day" of an IRC server. + Displays the welcome message of an IRC server. %9Examples:%9 diff --git a/docs/help/in/names.in b/docs/help/in/names.in index 0a122864..8fd8cf91 100644 --- a/docs/help/in/names.in +++ b/docs/help/in/names.in @@ -16,7 +16,7 @@ %9Description:%9 Displays the users who are in a channel; you can provide multiple channels - by separating them with the comma "," character. + by separating them with a comma. %9Examples:%9 diff --git a/docs/help/in/nctcp.in b/docs/help/in/nctcp.in index 3e6858f6..93c3f3ec 100644 --- a/docs/help/in/nctcp.in +++ b/docs/help/in/nctcp.in @@ -10,7 +10,7 @@ %9Description:%9 Sends a CTCP reply to a nickname or channel; you can provide multiple - targets by separating them with the comma "," character. + targets by separating them with a comma. %9Examples:%9 diff --git a/docs/help/in/netsplit.in b/docs/help/in/netsplit.in index e1667179..35788169 100644 --- a/docs/help/in/netsplit.in +++ b/docs/help/in/netsplit.in @@ -6,7 +6,7 @@ %9Description:%9 Displays some information about users who are currently lost in one or - more netsplits. + more net splits. %9Examples:%9 diff --git a/docs/help/in/network.in b/docs/help/in/network.in index b07b996e..046d9feb 100644 --- a/docs/help/in/network.in +++ b/docs/help/in/network.in @@ -14,8 +14,8 @@ -realname: Specifies the real name to use. -host: Specifies the hostname to use. -usermode: Specifies the user modes to set on yourself. - -autosendcmd: Specifies the commands, separated by the ";" character, - and enclosed within two '"' characters, to perform after + -autosendcmd: Specifies the commands, separated by the ';' character, + and enclosed within two "'" characters, to perform after connecting. -querychans: Specifies the maximum number of channels to put in one MODE or WHO command when synchronizing. @@ -30,7 +30,7 @@ -cmdspeed: Specifies the minimum amount of time, expressed in milliseconds, that the client must wait before sending additional commands to the server. - -cmxmax: Specifies the maximum number of commands to perform before + -cmdmax: Specifies the maximum number of commands to perform before starting the internal flood protection. The name of the network to add, edit or remove; if no parameter is given, @@ -40,19 +40,19 @@ Displays, adds, modifies or removes the network configuration of IRC networks. - + When using the ADD parameter on a network that already exists, the configuration will be merged with each other. - - We recommend using "WAIT 2000" between the automated commands in order to + + We recommend using 'WAIT 2000' between the automated commands in order to prevent you from being kicked from the network due to flooding commands. - + %9Examples:%9 /NETWORK ADD -usermode +giw EFnet - /NETWORK ADD -usermode +iw -nick mike -realname "The one and only mike!" -host staff.irssi.org Freenode - /NETWORK ADD -autosendcmd "^MSG NickServ identify WzerT8zq" Freenode - /NETWORK ADD -autosendcmd "^MSG Q@CServe.quakenet.org AUTH mike WzerT8zq; WAIT 2000; OPER mike WzerT8zq; WAIT 2000; MODE mike +kXP" Quakenet + /NETWORK ADD -usermode +iw -nick mike -realname 'The one and only mike!' -host staff.irssi.org Freenode + /NETWORK ADD -autosendcmd '^MSG NickServ identify WzerT8zq' Freenode + /NETWORK ADD -autosendcmd '^MSG Q@CServe.quakenet.org AUTH mike WzerT8zq; WAIT 2000; OPER mike WzerT8zq; WAIT 2000; MODE mike +kXP' Quakenet /NETWORK REMOVE Freenode %9See also:%9 CHANNEL, CONNECT, SERVER diff --git a/docs/help/in/notice.in b/docs/help/in/notice.in index c715c8a6..4c8d2139 100644 --- a/docs/help/in/notice.in +++ b/docs/help/in/notice.in @@ -11,9 +11,8 @@ Sends a notice to the target nickname or channel; these are often used in automated bots or scripts. - - You can provide multiple targets by separating them with the comma "," - character. + + You can provide multiple targets by separating them with a comma. %9Examples:%9 diff --git a/docs/help/in/op.in b/docs/help/in/op.in index 5c151780..ff15c52f 100644 --- a/docs/help/in/op.in +++ b/docs/help/in/op.in @@ -10,7 +10,7 @@ %9Description:%9 Grants the channel operator privileges to the given nicknames; you may use - the wildcard character "*" in a nickname. + the wildcard character '*' in a nickname. %9Examples:%9 diff --git a/docs/help/in/ping.in b/docs/help/in/ping.in index 9190b23c..11e618df 100644 --- a/docs/help/in/ping.in +++ b/docs/help/in/ping.in @@ -5,7 +5,7 @@ %9Parameters:%9 - The nickname or channel to ping, you can use the asterisk "*" character to + The nickname or channel to ping, you can use the asterisk '*' character to ping every user on a channel. %9Description:%9 diff --git a/docs/help/in/rawlog.in b/docs/help/in/rawlog.in index b0405eb0..1c2dafea 100644 --- a/docs/help/in/rawlog.in +++ b/docs/help/in/rawlog.in @@ -6,15 +6,15 @@ %9Parameters:%9 SAVE: Saves the raw server buffer into a file. - OPEN: Opens a logfile and start logging all raw data. - CLOSE: Closes the logfile + OPEN: Opens a log file and start logging all raw data. + CLOSE: Closes the log file The filename to store the raw data into. %9Description:%9 Saves all the raw data that is received from and transmitted to the active - server into a logfile. + server into a log file. %9Examples:%9 diff --git a/docs/help/in/recode.in b/docs/help/in/recode.in index 0668ec95..63f52339 100644 --- a/docs/help/in/recode.in +++ b/docs/help/in/recode.in @@ -17,7 +17,7 @@ into a specific charset. To get a list of supported charsets on your system, you can generally use - the "iconv -l" command. + the 'iconv -l' command. %9Examples:%9 diff --git a/docs/help/in/save.in b/docs/help/in/save.in index 8ab25f29..09785978 100644 --- a/docs/help/in/save.in +++ b/docs/help/in/save.in @@ -1,10 +1,24 @@ +%9Syntax:%9 + @SYNTAX:save@ - -formats: Save all /FORMATs into theme file +%9Parameters:%9 + + -formats: Saves all the formats into the theme file. + + The file to save the configuration or theme into; if no parameter is given, + the active configuration or theme file will be used. + +%9Description:%9 + + Saves the configuration file. + +%9Examples:%9 -Saves the current Irssi configuration into the configuration -file. + /SAVE + /SAVE -formats + /SAVE ~/.irssi/config-new -See also: RELOAD +%9See also:%9 RELOAD, SET diff --git a/docs/help/in/say.in b/docs/help/in/say.in deleted file mode 100644 index 6997743d..00000000 --- a/docs/help/in/say.in +++ /dev/null @@ -1,11 +0,0 @@ - -SAY <message> -(alias for "/MSG *") - -The actual command used to put <message> into the current channel. A very -useful command if you need aliases for often used phrases. - -For example: /alias brb say I'm off for a while, be right back. - -This would allow you to use /brb to put the "I'm off*" into the channel. - diff --git a/docs/help/in/sconnect.in b/docs/help/in/sconnect.in index ed07f4f9..47da885f 100644 --- a/docs/help/in/sconnect.in +++ b/docs/help/in/sconnect.in @@ -1,8 +1,25 @@ +%9Syntax:%9 + @SYNTAX:sconnect@ -IRC Operator command. Makes an IRC server connect -to another server. This is CONNECT on the protocol level. +%9Parameters:%9 + + The server to connect to, the connection port and the remote server that + initiates the connection attempt. + + If no remote server is given, the server you are currently connected to will + be used. + +%9Description:%9 + + Connect a server to the IRC network; this command is restricted to IRC + operators. + +%9Examples:%9 + + /SCONNECT ircsource.irssi.org + /SCONNECT ircsource.irssi.org 6667 be.hub -See also: OPER, SQUIT, RESTART +%9See also:%9 DIE, KILL, OPER, RESTART, SQUIT diff --git a/docs/help/in/script.in b/docs/help/in/script.in index 0354512b..6e94ef7f 100644 --- a/docs/help/in/script.in +++ b/docs/help/in/script.in @@ -1,19 +1,32 @@ +%9Syntax:%9 + @SYNTAX:script@ -Irssi has very powerful support for scripts written in Perl - they can extend functionality of Irssi in almost unlimited way, and they still keep the client's core unbloated, light and fast. You can control loading and execution of such scripts by this command. +%9Parameters:%9 -Without any parameters, /SCRIPT acts in same way as if you would call /SCRIPT LIST. + LIST: Displays the list of loaded scripts. + EXEC: Executes the given code. + LOAD: Loads the given script into the memory and executes it. + UNLOAD: Unloads the given script from the memory. + RESET: Unloads all the scripts. + -permanent: In combination with EXEC, the code will be loaded into the + memory. -/SCRIPT LIST displays list of all currently loaded scripts, together with full path to their source files. + If no argument is given, the list of active scripts will be displayed. -/SCRIPT EXEC executes the <commands> as a little perl script. It doesn't preserve it loaded in memory, unless -permanent is specified. +%9Description:%9 -/SCRIPT LOAD loads the <script> in memory and executes it. + Interact with the Perl engine to execute scripts. -/SCRIPT UNLOAD unloads the <script> from memory. +%9Examples:%9 -/SCRIPT RESET unloads all loaded scripts and resets the perl interpreter. + /SCRIPT + /SCRIPT LIST + /SCRIPT LOAD ~/.irssi/scripts/nickserv.pl + /SCRIPT UNLOAD nickserv + /SCRIPT RESET + /SCRIPT EXEC foreach my $channel (Irssi::channels()) { Irssi::print($channel->{name} . ' @ ' . $channel->{server}->{tag}); } -See also: LOAD, UNLOAD +%9See also:%9 LOAD, SAVE, UNLOAD diff --git a/docs/help/in/scrollback.in b/docs/help/in/scrollback.in index 4124cf6f..5f59d842 100644 --- a/docs/help/in/scrollback.in +++ b/docs/help/in/scrollback.in @@ -1,20 +1,37 @@ +%9Syntax:%9 + @SYNTAX:scrollback@ -/SCROLLBACK, or the default alias /SB: - -/SB LEVELCLEAR - - Remove lines with level matching one of those - specified in the comma-separated list <level>. -/SB CLEAR - - Clear screen, free all memory used by texts in window. -/SB HOME - - Jump to start of the buffer. -/SB END - - Jump to end of the buffer. -/SB GOTO [[-|+]line#|time] - - Jump to specified line or timestamp. - time format is [dd[.mm] | -<days ago>] hh:mi[:ss]. - -See also: SET SCROLL +%9Parameters:%9 + + CLEAR: Clears the screen and the buffer of all text. + LEVELCLEAR: Clears the screen and the buffer of text matching the given + levels. + GOTO: Go to the given position. + HOME: Go to the start of the buffer. + END: Go to the end of the buffer. + + -all: Applies to all windows instead of only the active one. + -level: The levels, separated by a comma, to match. + + The line number, timestamp to jump to or the window reference number to + clear. + +%9Description:%9 + + Manipulate the text in the window to go to a to the given line number, or + clear the buffers. + + The timestamp format is format is '[dd[.mm] | -<days ago>] hh:mi[:ss]'. + +%9Examples:%9 + + /SCROLLBACK CLEAR + /SCROLLBACK LEVELCLEAR -level NOTICES + /SCROLLBACK GOTO 100 + /SCROLLBACK HOME + /SCROLLBACK END + +%9See also:%9 CLEAR, WINDOW diff --git a/docs/help/in/server.in b/docs/help/in/server.in index 9cd7c8bd..5628b19f 100644 --- a/docs/help/in/server.in +++ b/docs/help/in/server.in @@ -29,7 +29,7 @@ -cmdspeed: Specifies the minimum amount of time, expressed in milliseconds, that the client must wait before sending additional commands to the server. - -cmxmax: Specifies the maximum number of commands to perform + -cmdmax: Specifies the maximum number of commands to perform before starting the internal flood protection. -port: Specifies the port to connect to the server. -noproxy: Ignores the global proxy configuration. @@ -43,13 +43,13 @@ Displays, adds, modifies or removes the network configuration of IRC servers. - + When using the ADD parameter on a server that already exists, the configuration will be merged with each other. - + When using the command without any of the given parameters, it will connect to the specified server; the server in the active window will be - disconnected unless you prepend the server with the "+" character; the same + disconnected unless you prepend the server with the '+' character; the same method is applicable to the CONNECT parameter. %9Examples:%9 @@ -64,6 +64,6 @@ /SERVER REMOVE -network Freenode orwell.freenode.net /SERVER PURGE /SERVER PURGE orwell.freenode.net - + %9See also:%9 CHANNEL, CONNECT, DISCONNECT, NETWORK, RECONNECT, RMRECONNS diff --git a/docs/help/in/servlist.in b/docs/help/in/servlist.in deleted file mode 100644 index e9b61a6d..00000000 --- a/docs/help/in/servlist.in +++ /dev/null @@ -1,21 +0,0 @@ - -@SYNTAX:servlist@ - -Works only on IRCnet. - -SERVLIST gives the list of services currently present on the -IRC network. It can take two arguments. - <mask> limits the output to the services which names matches - the mask. - <type> limits the output to the services of the specified type. - -The fields returned are: - Service name. - Server who introduced the service. - Distribution mask. - Service type. - Hop count to the service. - A comment. - -See also: SQUERY - diff --git a/docs/help/in/set.in b/docs/help/in/set.in index e355aaba..b2a4551b 100644 --- a/docs/help/in/set.in +++ b/docs/help/in/set.in @@ -1,23 +1,33 @@ +%9Syntax:%9 + @SYNTAX:set@ -You can view or change the settings with /SET command. +%9Parameters:%9 + + -clear: Removes the setting's value from the configuration. + -default: Restore the setting to its default value. + + The setting and the value; if no value is given, the list of settings that + matched will be returned. If no arguments are given, all the settings will + be displayed. + +%9Description:%9 -/SET without any arguments displays all the settings. -/SET <key> displays settings whose key (partly) matches <key> -/SET <key> <value> sets <key> to <value> + Modifies the value of a setting; boolean settings accept only ON, OFF and + TOGGLE. -Boolean settings accept only values ON, OFF and TOGGLE. You can -also use /TOGGLE command to change them, so /TOGGLE <key> behaves -like /SET <key> TOGGLE. /TOGGLE also accepts arguments ON and OFF -when /TOGGLE behaves exactly like /SET. + Please remember that you need to use the SAVE command to store the changes + into your configuration. -Remember that changes are not saved until you use /SAVE! +%9Examples:%9 -Examples: - /SET autolog OFF - Sets value for setting 'autolog' - /SET close - Shows all settings whose variable name - contains 'close'. Very practical. + /SET + /SET nick mike + /SET -clear nick + /SET log_timestamp %%H:%%H:%%S + /SET -default log_timestamp + /SET close -See also: TOGGLE +%9See also:%9 SAVE, TOGGLE diff --git a/docs/help/in/silence.in b/docs/help/in/silence.in index d4562cf7..cc3c62da 100644 --- a/docs/help/in/silence.in +++ b/docs/help/in/silence.in @@ -1,24 +1,29 @@ +%9Syntax:%9 + @SYNTAX:silence@ -Works only in some IRC networks. - -SILENCE is similar in many respects to IGNORE, except that it is -server-based. What this means is the server will never even send -you messages from anyone you have silenced, whereas it will with -IGNORE, where your client is responsible for filtering the messages -out. This has the advantage of not bogging your client down with -excessive data as it tries to filter out messages. The silence list -is lost when you disconnect. SILENCE only affects private messages -and invites. - -The default behavior is to SILENCE a nick!user@host pattern, and -if such a pattern is not passed as the argument, it must be prepended -with a plus ('+') to be added to your silence list. If a pattern is -prepended with a minus ('-'), it will be removed from your silence list. -If you only specify a nickname, you can list the patterns in the -silence list owned by that nickname. If no arguments are given, your -own silence list is displayed. - -See also: IGNORE, ACCEPT +%9Parameters:%9 + + The nickname or hostname to silence; you must prepend it by the '+' or '-' + character to indicate whether the entry should be added or removed. + + If no arguments are given, the list of silence entries will be displayed. + +%9Description:%9 + + Manages the server side ignore list; users or hostnames that match an entry + on the list are not able to send you any messages or invites. + + This command does not work on all IRC networks. + +%9Examples:%9 + + /SILENCE + /SILENCE +mike + /SILENCE -mike + /SILENCE +*!*@*.irssi.org + /SILENCE -*!*@*.irssi.org + +%9See also:%9 ACCEPT, IGNORE diff --git a/docs/help/in/squery.in b/docs/help/in/squery.in deleted file mode 100644 index 9c29b956..00000000 --- a/docs/help/in/squery.in +++ /dev/null @@ -1,12 +0,0 @@ - -@SYNTAX:squery@ - - <service> - Service name - <commands> - Commands to pass to the service. - -Works only on IRCnet. - -/SQUERY sends a query to the specified service. - -See also: SERVLIST, NOTE, LIST - diff --git a/docs/help/in/squit.in b/docs/help/in/squit.in index ab888781..b45a308f 100644 --- a/docs/help/in/squit.in +++ b/docs/help/in/squit.in @@ -1,8 +1,20 @@ +%9Syntax:%9 + @SYNTAX:squit@ -IRC Operator command. Splits the given server and all servers -behind it from your side of the IRC network. +%9Parameters:%9 + + The server and the disconnect reason. + +%9Description:%9 + + Disconnects a server from the IRC network; this command is restricted to + IRC operators. + +%9Examples:%9 + + /SQUIT ircsource.irssi.org I'm fixing a desync! -See also: SCONNECT, OPER, DIE, RESTART +%9See also:%9 DIE, OPER, SCONNECT diff --git a/docs/help/in/stats.in b/docs/help/in/stats.in index 5de453f5..80f16707 100644 --- a/docs/help/in/stats.in +++ b/docs/help/in/stats.in @@ -1,23 +1,43 @@ +%9Syntax:%9 + @SYNTAX:stats@ -Shows some irc server usage statistics. Available types vary slightly -per server; some common ones are: - c - Shows C and N lines for a given server. These are - the names of the servers that are allowed to connect. - h - Shows H and L lines for a given server (Hubs and Leaves). - k - Show K lines for a server. This shows who is not - allowed to connect and possibly at what time they are - not allowed to connect. - i - Shows I lines. This is who CAN connect to a server. - l - Shows information about amount of information passed - to servers and users. - m - Shows a count for the number of times the various - commands have been used since the server was booted. - o - Shows the list of authorized operators on the server. - p - Shows online operators and their idle times. - u - Shows the uptime for a server. - y - Shows Y lines, which lists the various connection - classes for a given server. - ? - Shows information about servers connected to a server. +%9Parameters:%9 + + The statistic identifier and the remote server; if no remote server is + given, the active server will be used. + +%9Description:%9 + + Displays statistics from the IRC server; some statistics require you to have + IRC operators privileges and might differ between IRC networks. + + Common statistics: + + C: Displays the servers the server may connect to. + H: Displays hub server the server may connect to. + K: Displays the permanent blacklist of hostnames which are prohibited + from connecting to the server. + k: Displays the temporary blacklist of hostname which are prohibited + from connecting to the server. + I: Displays the list of hostnames which are allowed to connect to the + server. + L: Displays the list of connected users and servers. + M: Displays the list of commands and how many times they have been + issued. + O: Displays the list of hostnames and users which are allowed to + become IRC operators. + P: Displays the ports the server is listening on. + p: Displays the IRC operators and their idle time. + u: Displays the uptime of the server. + Y: Displays the list of connection groups users are placed into. + ?: Displays information about the utilized bandwidth. + +%9Examples:%9 + + /STATS p + /STATS I ircsource.irssi.org + +%9See also:%9 MOTD, OPER diff --git a/docs/help/in/statusbar.in b/docs/help/in/statusbar.in index e7b35349..ac475dd5 100644 --- a/docs/help/in/statusbar.in +++ b/docs/help/in/statusbar.in @@ -1,10 +1,36 @@ +%9Syntax:%9 + @SYNTAX:statusbar@ -Commands for modifying the statusbar. +%9Parameters:%9 + + ENABLE: Enables the statusbar. + DISABLE: Disabled the statusbar. + RESET: Restores the default statusbar configuration. + TYPE: Identifies the type of statusbar. + PLACEMENT: Identifies the placement of the statusbar. + POSITION: Identifies the position of the statusbar. + VISIBLE: Identifies the visibility of the statusbar. + ADD: Adds a statusbar into the configuration. + REMOVE: Removes a statusbar from the configuration. + + The name of the statusbar; if no argument is given, the list of statusbars + will be displayed. + +%9Description:%9 + + Modified the attributes of the statusbar. + +%9Examples:%9 + + /STATUSBAR + /STATUSBAR window + /STATUSBAR window REMOVE time + /STATUSBAR window ADD time + /STATUSBAR window RESET + /STATUSBAR topic DISABLE + /STATUSBAR topic ENABLE -/STATUSBAR - - Display all statusbars. +%9See also:%9 WINDOW -/STATUSBAR <name> - - display elements of statusbar <name> diff --git a/docs/help/in/time.in b/docs/help/in/time.in index 7877fe75..90dd4acb 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..f87a6462 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 opposite + 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..68a60cc5 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..f3192f1d 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..d610c3ad 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..2c0c8a57 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..78f52b17 100644 --- a/docs/help/in/unquery.in +++ b/docs/help/in/unquery.in @@ -1,7 +1,21 @@ +%9Syntax:%9 + @SYNTAX:unquery@ -Removes a query window of specified nick. +%9Parameters:%9 + + The nickname to close the query for; if no argument is given, the active + query will be used. + +%9Description:%9 + + Closes a query window for a nickname. + +%9Examples:%9 + + /UNQUERY + /UNQUERY mike -See also: QUERY, SET QUERY +%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..e182f7ee 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 will be 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..98891ca6 100644 --- a/docs/help/in/version.in +++ b/docs/help/in/version.in @@ -1,8 +1,22 @@ +%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 will be + 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..33d1a37a 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..d265fd29 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 whose 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..c965d3fb 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 log file. + 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 position. + 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 - @@ -94,15 +94,15 @@ chatnets = { }; channels = ( - { name = "#lobby"; chatnet = "EsperNet"; autojoin = "Yes"; }, - { name = "#freenode"; chatnet = "Freenode"; autojoin = "Yes"; }, - { name = "#irssi"; chatnet = "Freenode"; autojoin = "No"; }, - { name = "#gamesurge"; chatnet = "GameSurge"; autojoin = "Yes"; }, - { name = "#irssi"; chatnet = "IRCNet"; autojoin = "No"; }, - { name = "#ircsource"; chatnet = "IRCSource"; autojoin = "Yes"; }, - { name = "#netfuze"; chatnet = "NetFuze"; autojoin = "Yes"; }, - { name = "#oftc"; chatnet = "OFTC"; autojoin = "Yes"; }, - { name = "silc"; chatnet = "SILC"; autojoin = "No"; } + { name = "#lobby"; chatnet = "EsperNet"; autojoin = "No"; }, + { name = "#freenode"; chatnet = "Freenode"; autojoin = "No"; }, + { name = "#irssi"; chatnet = "Freenode"; autojoin = "No"; }, + { name = "#gamesurge"; chatnet = "GameSurge"; autojoin = "No"; }, + { name = "#irssi"; chatnet = "IRCNet"; autojoin = "No"; }, + { name = "#ircsource"; chatnet = "IRCSource"; autojoin = "No"; }, + { name = "#netfuze"; chatnet = "NetFuze"; autojoin = "No"; }, + { name = "#oftc"; chatnet = "OFTC"; autojoin = "No"; }, + { name = "silc"; chatnet = "SILC"; autojoin = "No"; } ); aliases = { diff --git a/src/core/rawlog.c b/src/core/rawlog.c index e66f20dd..2fa6b850 100644 --- a/src/core/rawlog.c +++ b/src/core/rawlog.c @@ -102,14 +102,15 @@ void rawlog_redirect(RAWLOG_REC *rawlog, const char *str) static void rawlog_dump(RAWLOG_REC *rawlog, int f) { GSList *tmp; - ssize_t ret = 1; + ssize_t ret = 0; - for (tmp = rawlog->lines; ret && tmp != NULL; tmp = tmp->next) { + for (tmp = rawlog->lines; ret != -1 && tmp != NULL; tmp = tmp->next) { ret = write(f, tmp->data, strlen((char *) tmp->data)); - ret &= write(f, "\n", 1); - } + if (ret != -1) + ret = write(f, "\n", 1); + } - if (ret <= 0) { + if (ret == -1) { g_warning("rawlog write() failed: %s", strerror(errno)); } } diff --git a/src/fe-common/core/fe-messages.c b/src/fe-common/core/fe-messages.c index 56fe89f8..95d9a9d8 100644 --- a/src/fe-common/core/fe-messages.c +++ b/src/fe-common/core/fe-messages.c @@ -82,7 +82,9 @@ char *expand_emphasis(WI_ITEM_REC *item, const char *text) continue; if (!ishighalnum(end[-1]) || ishighalnum(end[1]) || end[1] == type || end[1] == '*' || end[1] == '_' || - (type == 29 && end[1] != '\0' && ishighalnum(end[2]))) + /* special case for italics to not emphasise + common paths by skipping /.../.X */ + (type == 29 && i_ispunct(end[1]) && ishighalnum(end[2]))) continue; if (IS_CHANNEL(item)) { diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c index cf6028b5..337d0739 100644 --- a/src/fe-text/gui-printtext.c +++ b/src/fe-text/gui-printtext.c @@ -158,8 +158,11 @@ static void get_colors(int flags, int *fg, int *bg, int *attr) if (*bg >= 0) { *bg = mirc_colors[*bg % 100]; flags &= ~GUI_PRINT_FLAG_COLOR_24_BG; - if (settings_get_bool("mirc_blink_fix")) - *bg = term_color256map[*bg&0xff] & ~0x08; + if (settings_get_bool("mirc_blink_fix")) { + if (*bg < 16) /* ansi bit flip :-( */ + *bg = (*bg&8) | (*bg&4)>>2 | (*bg&2) | (*bg&1)<<2; + *bg = term_color256map[*bg&0xff] & 7; + } } if (*fg >= 0) { *fg = mirc_colors[*fg % 100]; diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c index a0b257c4..b13426d1 100644 --- a/src/fe-text/term-terminfo.c +++ b/src/fe-text/term-terminfo.c @@ -324,6 +324,7 @@ static int termctl_set_color_24bit(int bg, unsigned int lc) } #define COLOR_RESET UINT_MAX +#define COLOR_BLACK24 COLOR_RESET - 1 /* Change active color */ #ifdef TERM_TRUECOLOR @@ -334,17 +335,26 @@ void term_set_color(TERM_WINDOW *window, int col) { int set_normal; - unsigned int fg = + unsigned int fg, bg; #ifdef TERM_TRUECOLOR - (col & ATTR_FGCOLOR24) ? fgcol24 << 8 : + if (col & ATTR_FGCOLOR24) { + if (fgcol24) + fg = fgcol24 << 8; + else + fg = COLOR_BLACK24; + } else #endif - (col & FG_MASK); + fg = (col & FG_MASK); - unsigned int bg = #ifdef TERM_TRUECOLOR - (col & ATTR_BGCOLOR24) ? bgcol24 << 8 : + if (col & ATTR_BGCOLOR24) { + if (bgcol24) + bg = bgcol24 << 8; + else + bg = COLOR_BLACK24; + } else #endif - ((col & BG_MASK) >> BG_SHIFT); + bg = ((col & BG_MASK) >> BG_SHIFT); if (!term_use_colors && bg > 0) col |= ATTR_REVERSE; @@ -370,8 +380,10 @@ void term_set_color(TERM_WINDOW *window, int col) (fg != 0 || (col & ATTR_RESETFG) == 0)) { if (term_use_colors) { last_fg = fg; - if (!(fg & 0xff)) - termctl_set_color_24bit(0, last_fg >> 8); + if (fg >> 8) + termctl_set_color_24bit(0, + last_fg == COLOR_BLACK24 ? 0 + : last_fg >> 8); else terminfo_set_fg(last_fg); } @@ -387,8 +399,10 @@ void term_set_color(TERM_WINDOW *window, int col) (bg != 0 || (col & ATTR_RESETBG) == 0)) { if (term_use_colors) { last_bg = bg; - if (!(bg & 0xff)) - termctl_set_color_24bit(1, last_bg >> 8); + if (bg >> 8) + termctl_set_color_24bit(1, + last_bg == COLOR_BLACK24 ? 0 + : last_bg >> 8); else terminfo_set_bg(last_bg); } diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c index 71828022..239c5a64 100644 --- a/src/irc/core/irc-commands.c +++ b/src/irc/core/irc-commands.c @@ -998,15 +998,11 @@ void irc_commands_init(void) command_bind_irc("trace", NULL, (SIGNAL_FUNC) command_self); /* SYNTAX: VERSION [<server>|<nick>] */ command_bind_irc("version", NULL, (SIGNAL_FUNC) command_self); - /* SYNTAX: SERVLIST [<server mask>] */ - command_bind_irc("servlist", NULL, (SIGNAL_FUNC) command_self); /* SYNTAX: SILENCE [[+|-]<nick!user@host>] SILENCE [<nick>] */ command_bind_irc("silence", NULL, (SIGNAL_FUNC) command_self); command_bind_irc("unsilence", NULL, (SIGNAL_FUNC) cmd_unsilence); command_bind_irc("sconnect", NULL, (SIGNAL_FUNC) cmd_sconnect); - /* SYNTAX: SQUERY <service> [<commands>] */ - command_bind_irc("squery", NULL, (SIGNAL_FUNC) command_2self); /* SYNTAX: DIE */ command_bind_irc("die", NULL, (SIGNAL_FUNC) command_self); /* SYNTAX: HASH */ @@ -1016,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); @@ -1077,17 +1071,14 @@ void irc_commands_deinit(void) command_unbind("time", (SIGNAL_FUNC) command_self); command_unbind("trace", (SIGNAL_FUNC) command_self); command_unbind("version", (SIGNAL_FUNC) command_self); - command_unbind("servlist", (SIGNAL_FUNC) command_self); command_unbind("silence", (SIGNAL_FUNC) command_self); command_unbind("unsilence", (SIGNAL_FUNC) cmd_unsilence); command_unbind("sconnect", (SIGNAL_FUNC) cmd_sconnect); - command_unbind("squery", (SIGNAL_FUNC) command_2self); command_unbind("die", (SIGNAL_FUNC) command_self); command_unbind("hash", (SIGNAL_FUNC) command_self); 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); |