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:
Kevin Easton
2008-02-25 09:25:32 +00:00
commit 28febcfea9
1429 changed files with 250653 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
Synopsis:
pretend <arguments>
Description:
The PRETEND command allows the client to "pretend" it received the given
arguments from the server. It is intended only to be used inside a hook
action. One possible use for this might be a highly customized scripted
DCC system. It is mostly only of use with RAW_IRC.
Examples:
To convert all CTCP ACTIONs to normal messages:
on raw_irc "% PRIVMSG % :AACTION *A" {
pretend $0-2 :(ACTION) $strip(A $4-)
}
See Also:
fake-dcc(8); hook(5); on(5) raw_irc, send_to_server
Other Notes:
As previously mentioned, this command is only designed to be used as
part of a hook action. Its behavior when not used in this manner is
undefined.