triggers:rprog
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| triggers:rprog [2015/01/07 06:09] – vodur | triggers:rprog [2015/09/28 03:06] (current) – vodur | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ^Argument ^Type ^Note | | ^Argument ^Type ^Note | | ||
| - | |room |[[: | ||
| |ch1 |[[: | |ch1 |[[: | ||
| |ch2 |[[: | |ch2 |[[: | ||
| Line 15: | Line 14: | ||
| |trigtype |string |see table | | |trigtype |string |see table | | ||
| - | ^trigtype | + | The actual room to which the script is attached can be referenced in the script through ' |
| - | |enter | + | |
| - | |%%*%%exit |room |exiter |none |none |none |none |none |number(%chance) |Fires when player exits the room | | + | ^trigtype ^ch1 ^ch2 ^obj1 ^obj2 ^text1 ^trigger ^Phrase type ^Description | |
| - | |%%*%%move |room |enterer |none |none |none |none |direction name |string(direction name or "%%*%%") |Fires when a player attemps to move in given direction. Exit does not have to exist. | | + | |enter |enterer |none |none |none |none |none |number(%chance) |Fires when player enters the room. \\ See [[: |
| - | |%%*%%open |room |opener |none |none |none |none |direction name |string(direction name or "%%*%%") |Fires when a player opens given door. | | + | |< |
| - | |%%*%%close |room |closer |none |none |none |none |direction name |string(direction name or "%%*%%") |Fires when a player closes given door. | | + | |< |
| - | |%%*%%unlock | + | |< |
| - | |%%*%%lock |room |locker |none |none |none |none |direction name |string(direction name or "%%*%%") |Fires when a player locks given door. | | + | |< |
| - | |[[: | + | |< |
| - | |%%*%%look |room |looker |none |none |none |none |none |number(%chance) |Fires when player would see the room desc. | | + | |< |
| - | |try |room |tryer |none |none |none |none |none |string(phrase or %%*%%) |Fires when player in room used try command. | | + | |[[: |
| - | |connect | + | |< |
| - | |%%*%%command | + | |try |tryer |none |none |none |none |none |string(phrase or < |
| - | |(%%*%%)If trigger fires, command is prevented from going through unless ' | + | |connect |connecter |none |none |none |none |none |number(%chance) |Fires when player connects in room. Does not fire on reconnect. | |
| + | |< | ||
| + | |postreset |none |none |none |none |none |none |number(%chance) | ||
| + | |< | ||
| + | |||
| + | |(< | ||
| When recalling, order of trigger processing is: rexit then exit then recall | When recalling, order of trigger processing is: rexit then exit then recall | ||
| + | |||
| + | \\ | ||
| + | |||
triggers/rprog.1420610949.txt.gz · Last modified: 2015/01/07 06:09 by vodur