void main() { object oChair; oChair =GetNearestObjectByTag("CHAIR", OBJECT_SELF); ActionSit(oChair); }