Help

SPAWN

For immortals

Spawn is used to create, or "spawn", your own events.

Syntaxspawn options ...

Where options are the following. (Most numeric parameters like event numbers can be expressed using die notation (xdy, xdy+z) to add flexibility through randomness.

destination   This option specifies where the event should be sent to.  It's
              options are:
              actor        send the event to the actor
              self         send the event to the self
              room <num>   send the event to room numbered <num>
              In addition, if the keyword "room" is appended, it means send
              the event to the room that the self or actor is in.  If the
              event is prefixed with "in", it means broadcast the event to
              the specified room/mobile/object AND its contents.  The default
              destination is "self".
include       The current option for "include" is "actor".  This specifies
              that you want the event to include who the actor was.  If the
              actor dies or leaves the mud, the event dies with it.  The
              actor should be included, for example, when you want to refer
              to the actor's name, for example, in subsequent
              behavior-responses with caret-substitution.
time          This specifies how many pulses to wait before sending the
              event.  The default is 3 pulses.
restriction   The only restriction option is "actorwithself".  This restriction
              means that the event will be killed if the actor is not in the
              same room with the self when the event comes due.  This
              restriction is useful, for example, when self is using events to
              trigger a conversation with the actor -- it would make no sense
              for the self to try to talk to the actor if they were in
              different rooms.  ("actorwithself" automatically includes the
              actor.)
event         This specifies the event number.  A number between 1 and 100000
              should be used.  You can also use "turn" instead of an event
              number.  This causes the event destination to receive a "turn"
              event (many of the standard built-in behaviors like Fighter,
              Slay, and Tracker trigger off of the "turn" event).