Difference between revisions of "Prop OpenCommand"
Jump to navigation
Jump to search
(Created page with "{{PropertyTemplate|ID=Prop_OpenCommand|Name=Opening Command|Domain=Nothing|Available=|Allows=|UseCost=None|Quality=Circumstantial|Targets=Containers, Exits...") |
|||
Line 1: | Line 1: | ||
− | {{PropertyTemplate|ID=Prop_OpenCommand|Name=Opening Command|Domain=[[nothing(Domain)|Nothing]]|Available=|Allows=|UseCost=None|Quality=Circumstantial|Targets=Containers, Exits|Range=Range -2147483648 - Range 2147483647|Commands=|Usage= | + | {{PropertyTemplate|ID=Prop_OpenCommand|Name=Opening Command|Domain=[[nothing(Domain)|Nothing]]|Available=|Allows=|UseCost=None|Quality=Circumstantial|Targets=Containers, Exits|Range=Range -2147483648 - Range 2147483647|Commands=|Usage=[COMMAND WORD] ([PARMS...]/NOOPEN/MESSAGE=[STR];...|Examples=twist knob;tw knob;twi knob |
smack botto* | smack botto* | ||
− | |Description=When applied to a locked container or exit, this property will force the affected openable to unlock and open when the command phrase is entered by the user in its presence. The command word must match exactly, and the command entered must otherwise be completely invalid. PARMS arguments must also match exactly, although any PARM arg may end with * to use a starting string wildcard. A PARM argument may also end with ** to match the rest of the users entered command string.}} | + | |Description=When applied to a locked container or exit, this property will force the affected openable to unlock and open when the command phrase is entered by the user in its presence. The command word must match exactly, and the command entered must otherwise be completely invalid. PARMS arguments must also match exactly, although any PARM arg may end with * to use a starting string wildcard. A PARM argument may also end with ** to match the rest of the users entered command string. In addition to a series of command words, you can also use the NOOPEN keyword to also disable the standard open command for the exit/item, or use MESSAGE= to change the message sent to the room, which can use}} |
+ | |||
+ | =Notes= | ||
+ | *Separate the NOOPEN and MESSAGE= parameters with a ; from the command word parameters. | ||
+ | **For example: twist torch;NOOPEN;MESSAGE=As you twist the torch a secret door opens nearby. | ||
− | |||
− | |||
[[Category:ITEMS(BuilderInfo)]] | [[Category:ITEMS(BuilderInfo)]] | ||
[[Category:EXITS(BuilderInfo)]] | [[Category:EXITS(BuilderInfo)]] |
Revision as of 19:01, 10 November 2023
CoffeeMUD |
---|
Administrator Builder Player |
=CoffeeMUD Builder Information= | |||
---|---|---|---|
Basics | Praetor Player Support Commands Zapper Masks | Advanced | Races Classes Abilities Socials Scripting |
Building | Behaviors Properties Areas Rooms Exits Items Mobs | Systems | Achievements Crafting Help Info Ships Planes of Existence Quests Triumphs |
===Prop_OpenCommand=== | |
---|---|
Effect: | Opening Command |
Targets: | Containers, Exits |
Parameters: | [COMMAND WORD] ([PARMS...]/NOOPEN/MESSAGE=[STR];... |
Examples: | twist knob;tw knob;twi knob
smack botto* |
Description: | When applied to a locked container or exit, this property will force the affected openable to unlock and open when the command phrase is entered by the user in its presence. The command word must match exactly, and the command entered must otherwise be completely invalid. PARMS arguments must also match exactly, although any PARM arg may end with * to use a starting string wildcard. A PARM argument may also end with ** to match the rest of the users entered command string. In addition to a series of command words, you can also use the NOOPEN keyword to also disable the standard open command for the exit/item, or use MESSAGE= to change the message sent to the room, which can use |
Notes
- Separate the NOOPEN and MESSAGE= parameters with a ; from the command word parameters.
- For example: twist torch;NOOPEN;MESSAGE=As you twist the torch a secret door opens nearby.