Welcome to the Creatures Wiki! Log in and join the community.
MESG WRT+
Jump to navigation
Jump to 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
This article about a CAOS command or function needs further examples. |