Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
28
bitchx-docs/5_Programming/redirect
Normal file
28
bitchx-docs/5_Programming/redirect
Normal file
@@ -0,0 +1,28 @@
|
||||
Synopsis:
|
||||
redirect <nick>|*|<channel>|%<process>|=<nick> <command>
|
||||
|
||||
Description:
|
||||
This lets you send the output of any command to another user or
|
||||
channel. You can even send the output to a running subprocess (a
|
||||
pipeline, in a sense). Redirecting output across a DCC connection
|
||||
is allowed. A "*" may be specified as the target, which is
|
||||
interpreted as your current channel. Like MSG and NOTICE, multiple
|
||||
targets are permitted; separate them with commas.
|
||||
|
||||
There is an implicit WAIT built into the REDIRECT command, meaning the
|
||||
client will send all of the output of the command to the target before
|
||||
it does anything else. See WAIT for more information.
|
||||
|
||||
Examples:
|
||||
To send the output of a WHOIS to channel #blah:
|
||||
/redirect #blah whois foobar
|
||||
|
||||
To send the output of a USERHOST to a running subprocess:
|
||||
/redirect %finger userhost foobar
|
||||
|
||||
To send the current topic to JoeBob and JimBob:
|
||||
/redirect joebob,jimbob topic #blah
|
||||
|
||||
See Also:
|
||||
msg(1); wait(5)
|
||||
|
||||
Reference in New Issue
Block a user