This type of trigger is used specifically to provide information to an observer in the room about a mobile currently affected by the object implementing the trigger. For instance the "slit throat affect object" returns the following string for display under the mobile's room description:
"$n is spraying blood everywhere."
To provide something to be displayed below the mobile's roomd escription the script must RETURN a string. It should not echo the output since such output will not display properly. Note that the return string can include macros to be expanded as usually expanded by the %act() function.
@n - The mobile "looking" in the room.
@t - The mobile affected by the affect object.
Example:
return "$n is spraying blood everywhere." |