//Let's DM's and creatures possesed by a DM to sit in a DM's chair. void main() { object oDM = GetLastUsedBy(); object oChair = OBJECT_SELF; if (GetIsDM(oDM) || GetIsDM(GetMaster(oDM))) { if (GetIsObjectValid(oChair) && !GetIsObjectValid (GetSittingCreature(oChair))) AssignCommand(oDM, ActionSit(oChair)); } else SpeakString("Only DM's are allowed to sit here."); }