void main() { object oChair=OBJECT_SELF; object oPC = GetLastUsedBy(); AssignCommand(GetLastUsedBy(),ActionSit(oChair)); effect eDeath = EffectDeath(TRUE, TRUE); ApplyEffectToObject(DURATION_TYPE_INSTANT, eDeath, oPC); }