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:32] – vodur | triggers:rprog [2015/09/28 03:06] (current) – vodur | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| |trigtype |string |see table | | |trigtype |string |see table | | ||
| - | The actual room to which the script is attached can be referenced in the script through ' | + | The actual room to which the script is attached can be referenced in the script through ' |
| ^trigtype ^ch1 ^ch2 ^obj1 ^obj2 ^text1 ^trigger ^Phrase type ^Description | | ^trigtype ^ch1 ^ch2 ^obj1 ^obj2 ^text1 ^trigger ^Phrase type ^Description | | ||
| - | |enter |enterer |none |none |none |none |none |number(%chance) |Fires when player enters the room | | + | |enter |enterer |none |none |none |none |none |number(%chance) |Fires when player enters the room. \\ See [[: |
| - | |%%*%%exit |exiter |none |none |none |none |none |number(%chance) |Fires when player exits the room | | + | |< |
| - | |%%*%%move |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. | | + | |< |
| - | |%%*%%open |opener |none |none |none |none |direction name |string(direction name or "%%*%%") |Fires when a player opens given door. | | + | |< |
| - | |%%*%%close |closer |none |none |none |none |direction name |string(direction name or "%%*%%") |Fires when a player closes given door. | | + | |< |
| - | |%%*%%unlock |unlocker |none |none |none |none |direction name |string(direction name or "%%*%%") |Fires when a player unlocks given door. | | + | |< |
| - | |%%*%%lock |locker |none |none |none |none |direction name |string(direction name or "%%*%%") |Fires when a player locks given door. | | + | |< |
| |[[: | |[[: | ||
| - | |%%*%%look |looker |none |none |none |none |none |number(%chance) |Fires when player would see the room desc. | | + | |< |
| - | |try |tryer |none |none |none |none |none |string(phrase or %%*%%) |Fires when player in room used try command. | | + | |try |tryer |none |none |none |none |none |string(phrase or < |
| |connect |connecter |none |none |none |none |none |number(%chance) |Fires when player connects in room. Does not fire on reconnect. | | |connect |connecter |none |none |none |none |none |number(%chance) |Fires when player connects in room. Does not fire on reconnect. | | ||
| - | |%%*%%command |commander |none |none |none |command argument |command name |string(command name) |Fires when player uses the given command. | | + | |< |
| + | |postreset |none |none |none |none |none |none |number(%chance) |Fires directly after the room resets. | | ||
| + | |< | ||
| - | |(%%*%%)If trigger fires, command is prevented from going through unless ' | + | |(< |
| 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.1420612359.txt.gz · Last modified: 2015/01/07 06:32 by vodur