Files
dsrc/sku.0/sys.server/compiled/game/script/test/report_posture.java
T
2018-06-07 00:32:29 +01:00

19 lines
503 B
Java
Executable File

package script.test;
import script.obj_id;
public class report_posture extends script.base_script
{
public report_posture()
{
}
public int OnHearSpeech(obj_id self, obj_id speaker, String text) throws InterruptedException
{
if (text.equals("report"))
{
debugSpeakMsg(self, "Posture is " + Integer.toString(getPosture(self)) + "Locomotion is " + Integer.toString(getLocomotion(self)));
}
return SCRIPT_CONTINUE;
}
}