FOCUS
Focus criteria is used to determine who should be affected by a behavior. Focus criteria consists of one of the following (use () for multiple criteria).
| noobj | Don't include any objects |
| nochar | Don't include any characters |
| actor | Include the actor |
| self | Include whatever the behavior is attached to |
| bearer | Include whoever is holding/wielding the object if 'self' refers to an object. |
| room | Include the current room |
| adj | Include adjacent rooms |
| zone | Include the entire zone |
| cm|charmatch <CHARMATCH> | Only include characters matching charmatch criteria |
| om|objmatch <OBJMATCH> | Only include objects matching objmatch criteria |
The following includes all good, level 20+ in the room.
Example: (char room cm (good +minlevel 20))
Note that you must explicitly list self and actor if you wish them to be included.
Last edited by Engada in October 2005.