Prop CloseCommand

From CoffeeMud Wiki
Revision as of 22:02, 18 December 2023 by Loki (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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_CloseCommand===
Effect: Closing Command
Targets: Containers, Exits
Parameters: "COMMAND WORD" ("PARMS..."/NOCLOSE/MESSAGE="STR";...
Examples: twist knob;tw knob;twi knob;noclose

smack botto*

Description: When applied to an open container or exit, this property will force the affected openable to close and maybe lock 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 NOCLOSE keyword to also disable the standard close command for the exit/item, or use MESSAGE= to change the message sent to the room, which can use (S-NAME) for the actor, and (T-NAME) for the item.


Notes

.