All pastes #905838 Raw Edit

Mine

public text v1 · immutable
·published 2008-02-16 01:43 UTC
rendered paste body
3.1. Inline Operands
====================

Inline Operands (or InOps) tell egg-fu how to send the response.  The
following InOps are currently available:

<reply>  : Sends the text verbatim.

        Hello is <reply> Hi!

<action> : Sends the text in a /me style action.

        Hello is <action> waves hello

<notice> : Sends the text in a /notice

        Hello is <notice> Welcome!

<ctcp>   : Sends the text in a /ctcp  (used for ping, etc)

        ping is <ctcp> PING

All InOps by-pass the random sentence structures.




3.2. Inline Options
===================

Inline Options (or InOpts) are dynamic variables replaced by egg-fu each
time the response is used.  The following is a list of available InOpts
and their function.

$who      : returns the nick of who triggered the response.
$nick     : returns a random nick from the channel's nick list
$date     : returns the system time according to the server hosting your egg
$day      : returns a random day (not the actual day)
$month    : returns a random month (not the actual month)
$animal   : returns a random animal
$item     : returns a random object
$adj      : returns a random adjective
$question : returns the entire string that triggered the response
$keyword  : returns the keyword that triggered the response
$age      : returns the age of your bot
$sex      : returns the sex of your bot
$birthday : returns age and birthdate of your bot **

( ** Due to the nature of the responses coded for $birthday, it MUST be
used in conjunction with the <reply> operand, ie. born is <reply> $birthday )