trigger OnHearSpeech(obj_id speaker, string text) { if (text.equals("report")) { debugSpeakMsg(self, "Posture is " + Integer.toString(getPosture(self)) + "Locomotion is " + Integer.toString(getLocomotion(self))); } return SCRIPT_CONTINUE; }