Welcome to the Creatures Wiki! Log in and join the community.

MESG WRT+

From Creatures Wiki
Revision as of 06:10, 23 June 2018 by Pilla (Talk | contribs) (Formatting fix)

Jump to: navigation, search

MESG WRT+ is a command that allows to run a script in an agent or creature outside of the currently active script. It sends a message (from the message numbers) to the agent the script points at.

Usage

Syntax: MESG WRT+ (command) AGENT (agent) MESSAGE_ID (integer) _p1_ (anything) _p2_ (anything) DELAY (integer)

Send a message with the parameters _p1_ and _p2_ to another agent. Waits DELAY ticks before sending the message. The message_id can be either from the table of Message Numbers or a custom number.

Examples

Editnorn.png This article about a CAOS command or function needs further examples.

See also