Difference between revisions of "Prop OpenCommand"

From CoffeeMud Wiki
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...")
 
 
(One intermediate revision by the same user not shown)
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="COMMAND WORD" ("PARMS...";...|Examples=twist knob;tw knob;twi knob
+
{{#section-h:LISTPROPS|Opening Command}}
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.}}
+
=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.
  
===Notes===
 
.
 
 
[[Category:ITEMS(BuilderInfo)]]
 
[[Category:ITEMS(BuilderInfo)]]
 
[[Category:EXITS(BuilderInfo)]]
 
[[Category:EXITS(BuilderInfo)]]

Latest revision as of 03:50, 19 December 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;NOOPEN;MESSAGE="Doorknob!!";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 arg 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 (S-NAME) for the actor, and (T-NAME) for the item.


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.