# $EPIC: pretend.txt,v 1.3 2006/08/19 04:05:34 sthalik Exp $

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 on RAW_IRC.

Examples:

To convert all CTCP ACTIONs to normal messages:

    on raw_irc "% PRIVMSG % :^VA^VACTION ^VA^V" {
       pretend $0-2 :(ACTION) $strip(^VA^V $4-)
    }

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.

 
pretend.txt · Last modified: 2006/08/18 23:05
 

All documentation is available under the same terms as EPIC itself.