There are three parts to the proposed permissions system:
ally 5501 # join defense if 5501 is attacked
neutral 5501 # do nothing if 5501 is attack
hostile 5501 # attack 5501 on sight
Units are by default allied with others member of their faction,
but this can be suppressed with NEUTRAL.
Orders can be given from an individual unit, or the entire
faction (via the player entity).
receive [who] [item] [qty]
receive # unit will take anything from anyone
receive 5501 # take anything from 5501
receive 5501 10 # take any number of peasants from 5501
receive 5501 10 15 # take up to 15 peasants from 5501
Receives expire at the end of the month.
The player entity may also issue RECEIVE, and it will cover all of the
units in the faction.
allowing entrance to buildings, or stacking:
admit <what> [all] [who...]
admit 5501 # allow anyone to stack with 5501
admit 5501 4609 # allow 4609 to stack with 5501
admit 5501 but 4609 # allow anyone but 4609 to stack
# with 5501
admit ee01 # allow anyone to enter ee01
admit ee01 4609 # allow 4096 to enter ee01
admit ee01 but 4609 # allow anyone but 4096 to enter ee01
admit ee01 4096 1012 # allow 4069 and 1012 to enter ee01
admit's are tracked for the entire faction, not individual units.
-- Rich Skrenta <email@example.com>