Difference between revisions of "TRIGEDIT-VARIABLES-SPECIALS SPEC-VAR SELF RANDOM RANDOM TIME PEOPLE TRIGEDIT-SPEC-VAR RANDOM.CHAR SPEECH"
(Bot: Automated import of articles) |
m |
||
Line 1: | Line 1: | ||
'''TRIGEDIT-VARIABLES-SPECIALS SPEC-VAR SELF RANDOM RANDOM TIME PEOPLE TRIGEDIT-SPEC-VAR RANDOM.CHAR SPEECH ''' | '''TRIGEDIT-VARIABLES-SPECIALS SPEC-VAR SELF RANDOM RANDOM TIME PEOPLE TRIGEDIT-SPEC-VAR RANDOM.CHAR SPEECH ''' | ||
[[Category:Help Files]] | [[Category:Help Files]] | ||
− | + | [[Category:Building]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Special Variables When using field - The variable returns: | Special Variables When using field - The variable returns: |
Latest revision as of 14:29, 14 July 2017
TRIGEDIT-VARIABLES-SPECIALS SPEC-VAR SELF RANDOM RANDOM TIME PEOPLE TRIGEDIT-SPEC-VAR RANDOM.CHAR SPEECH
Special Variables When using field - The variable returns:
self - The mob, item, or room running the script. Normal fields may be
used with this.
time.<field> - Field may be hour, day, month, or year. The returned value will
be the current hour in the mud (0-23), day of the month (1-35),
month (1-16), or year respectively.
people.<vnum> - This variable returns the number of people in the room
specified via vnum.
random.<#> - This returns a number between 1 and the field value.
%random.10% would return a number between 1 and 10.
random.char - This returns a random character in the room.
speech - This variable is set to the complete phrase spoken by an actor
that triggers a speech trigger.
|%var% - name's, someone's, your
&%var% - it, you, he/she
- %var% - it, you, him/her
- object only
'%obj% - something, name
Example: {cRTSTAT 31{c0