BEHAVIOR
%g2
...behaviorThis behavior command will list all of the behaviors for rooms, mobiles, or objects.
...behavior behaviorThis will list help on the specified behavior.
...behavior targetThis will list all of the behaviors assigned to the specified room, mobile, or object. For rooms, target is "room", while for objects and mobiles, target is the name of the object or mobile.
...behavior all [behavior] [distinct] [invalid]This will show all of the rooms, mobiles, or objects that have the specified behavior assigned. The distinct option can be used to list distinct items. The invalid option can be used to spot behaviors that are invalid.
...behavior target behavior [*trigger percent] [<|>|%] [arguments] [.]This form is used to assign a new behavior to the target.
The optional trigger percent can be used to only activate the behavior a percentage of the time it is up for triggering. Entering "50" would make the behavior activate 50% of the time. The default is "100". Trigger percents can have up to four digits of precision (for example, "0.0001").
The optional forwarding information, <, >, or %, is used to determine if an event should be forwarded to the next behavior if the current behavior intercepts it. See BEHAVIOR-EVENT-FORWARDING for more information.
Some behaviors take optional and/or required arguments which can customize the behavior to act in different ways. Some behaviors' arguments span multiple lines. To enter a multiple line behavior, enter a single period (.) at the end of the command. This will tell the mud that you have more information to enter and you will be put into the text editor.
...behavior room remove|edit|front|back|view numberThe remove option is used to remove a behavior. The edit option will allow you to edit the behavior so you don't have to re-enter the entire thing should you make a mistake. The front option is used to push the specified behavior to the top of the list, while back is used to push it to the end. The order in which behaviors appear IS important. Behaviors are processed in order that they appear in the list. The view option allows you to look at the contents of a single behavior.
...behavior room forwarding number [<|>|%]This variant of the behavior command is used to easily alter the forwarding for a given behavior without having to re-enter or otherwise edit it.
...behavior room trigger number triggerUse this option to set the trigger for a behavior.
...behavior room triggerpercent number <0-100>This variant of the behavior command is used to easily alter the triggering percentage for a given behavior.
Use r/m/ostat to see behavior assignments.