Friday, February 26, 2016

Idioms: Triggering multiple subs

If you have multiple subs, it's a good idea to have a standard set of triggers that they all share.  The trigger-rules can still be individually tailored, but having a common set of trigger phrases minimizes confusion.  If you do this, it's usually a good idea to include the sub's name in the trigger phrase, so you can direct a trigger to a specific sub if more than one are present.  For example, consider a trigger that will cause the sub to kneel.  A good trigger rule might be:

   kneel $rpname = play "kneel"

Note the use of $rpname as a template for any of the sub's role-play names (names defined individually for each sub via addname or setname).  This lets the same trigger work for three subs with role-play names of Anna, Beth and Cindy:  for example, "Kneel, Beth" will fire only Beth's instance of the trigger-rule.

It's useful to give each sub an additional "collective name", for example "girls", so that the roleplay names of, for instance, Anna would be "anna" and "girls".  This allows you to trigger her either individually:  "Kneel, Anna", or collectively with Beth and Cindy, if they are present:  "Kneel, Girls".

No comments:

Post a Comment