TRIGEDIT-VARIABLES-SPECIALS

building

Also known as: SPEC-VAR · %SELF% · RANDOM · %RANDOM% · %TIME% · %PEOPLE% · TRIGEDIT-SPEC-VAR · %RANDOM.CHAR% · %SPEECH% · DG_LETTER · DG-LETTERS · TRIGEDIT-LETTERS · %HOUR% · SPEECH-VAR

Special Variables When using field - The variable returns: <global> - HELP GLOBAL asound - HELP %ASOUND% at - HELP %AT% damage - HELP %DAMAGE% door - HELP %DOOR% echo - HELP %ECHO% echoaround - HELP %ECHOAROUND% findobj.#() - Counts the number of objects in a room. HELP %FINDOBJ%@N findmob.#() - Counts the number of mobs in a room. HELP %FINDMOB%@N force - HELP %FORCE% load - HELP %LOAD% people.<vnum> - This variable returns the number of people in the room specified via vnum. purge - HELP %PURGE% 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. self - The mob, item, or room running the trigger. Normal fields may be used with this. send - HELP %SEND% speech - This variable is set to the complete phrase spoken by an actor that triggers a speech trigger. teleport - HELP %TELEPORT% 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-17), or year respectively. TSTAT 36 zoneecho - HELP %ZONEECHO% transform - HELP %TRANSFORM% |%var% - name's, someone's, your ~%var% - name, someone, you &%var% - it, you, he/she Example: TSTAT 91 *%var% - it, you, him/her ^%var% - its, your, his/her Use \ for do not parse, or %% for %. Example: TSTAT 31 See also:: TRIGEDIT-RANDOM