User Tools

Site Tools


triggers:oprog:look

LOOK

Keyword : 'look'

Phrase: phrase or *

Return: boolean [controls whether regular description is displayed]

Explanation: The trigger is checked when a player looks at an object through its regular name keywords or any extra description keywords.
If phrase is used, will only fire if the if the given phrase is in the keywords the player uses.

Examples:

“addop 1000 look %%*%%" Runs oprog 1000 any time somebody looks at the object.
   "addop 1000 look scroll" Runs oprog 1000 if somebody looks at the object using scroll as one of the keywords.
        "addop 1000 look 'black scroll'" Runs oprog 1000 only if somebody looks at object using the phrase 'black scroll'.
triggers/oprog/look.txt · Last modified: 2014/12/24 03:58 by vodur