mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 10:32:31 +02:00
readded SQUERY and SERVLIST
no reason to remove these; they are small, don't do any harm, and a lot of irssi users hang out on IRCnet
This commit is contained in:
parent
bca5f412a9
commit
7e6c0b7b34
3 changed files with 39 additions and 0 deletions
21
docs/help/in/servlist.in
Normal file
21
docs/help/in/servlist.in
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
|
||||||
|
@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
|
||||||
|
|
||||||
12
docs/help/in/squery.in
Normal file
12
docs/help/in/squery.in
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
@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
|
||||||
|
|
||||||
|
|
@ -1018,11 +1018,15 @@ void irc_commands_init(void)
|
||||||
command_bind_irc("trace", NULL, (SIGNAL_FUNC) command_self);
|
command_bind_irc("trace", NULL, (SIGNAL_FUNC) command_self);
|
||||||
/* SYNTAX: VERSION [<server>|<nick>] */
|
/* SYNTAX: VERSION [<server>|<nick>] */
|
||||||
command_bind_irc("version", NULL, (SIGNAL_FUNC) command_self);
|
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>]
|
/* SYNTAX: SILENCE [[+|-]<nick!user@host>]
|
||||||
SILENCE [<nick>] */
|
SILENCE [<nick>] */
|
||||||
command_bind_irc("silence", NULL, (SIGNAL_FUNC) command_self);
|
command_bind_irc("silence", NULL, (SIGNAL_FUNC) command_self);
|
||||||
command_bind_irc("unsilence", NULL, (SIGNAL_FUNC) cmd_unsilence);
|
command_bind_irc("unsilence", NULL, (SIGNAL_FUNC) cmd_unsilence);
|
||||||
command_bind_irc("sconnect", NULL, (SIGNAL_FUNC) cmd_sconnect);
|
command_bind_irc("sconnect", NULL, (SIGNAL_FUNC) cmd_sconnect);
|
||||||
|
/* SYNTAX: SQUERY <service> [<commands>] */
|
||||||
|
command_bind_irc("squery", NULL, (SIGNAL_FUNC) command_2self);
|
||||||
/* SYNTAX: DIE */
|
/* SYNTAX: DIE */
|
||||||
command_bind_irc("die", NULL, (SIGNAL_FUNC) command_self);
|
command_bind_irc("die", NULL, (SIGNAL_FUNC) command_self);
|
||||||
/* SYNTAX: HASH */
|
/* SYNTAX: HASH */
|
||||||
|
|
@ -1091,9 +1095,11 @@ void irc_commands_deinit(void)
|
||||||
command_unbind("time", (SIGNAL_FUNC) command_self);
|
command_unbind("time", (SIGNAL_FUNC) command_self);
|
||||||
command_unbind("trace", (SIGNAL_FUNC) command_self);
|
command_unbind("trace", (SIGNAL_FUNC) command_self);
|
||||||
command_unbind("version", (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("silence", (SIGNAL_FUNC) command_self);
|
||||||
command_unbind("unsilence", (SIGNAL_FUNC) cmd_unsilence);
|
command_unbind("unsilence", (SIGNAL_FUNC) cmd_unsilence);
|
||||||
command_unbind("sconnect", (SIGNAL_FUNC) cmd_sconnect);
|
command_unbind("sconnect", (SIGNAL_FUNC) cmd_sconnect);
|
||||||
|
command_unbind("squery", (SIGNAL_FUNC) command_2self);
|
||||||
command_unbind("die", (SIGNAL_FUNC) command_self);
|
command_unbind("die", (SIGNAL_FUNC) command_self);
|
||||||
command_unbind("hash", (SIGNAL_FUNC) command_self);
|
command_unbind("hash", (SIGNAL_FUNC) command_self);
|
||||||
command_unbind("oper", (SIGNAL_FUNC) cmd_oper);
|
command_unbind("oper", (SIGNAL_FUNC) cmd_oper);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue