This type of trigger is used specifically to provide information to the owner that they are affected by whatever affect the catching object is implementing. For instance the "slit throat affect object" returns the following string for display in the user's affects list in their score output:
"Blood flows quickly from a wound in your neck."
Alternatively the "continual light affect object" returns the following string for display in the affects list:
"You are affected by the spell 'continual light'."
To provide something to be displayed in the score's affect list the script must RETURN a string. It should not echo the output since such output will not display in the score, but rather will display just before the score.
@n - The mobile affected by the affect object.
Example:
return "Blood flows quickly from a wound in your neck." |