Prop OpenCommand

From CoffeeMud Wiki
Revision as of 19:01, 10 November 2023 by Loki (talk | contribs)
Jump to navigation Jump to search
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.