Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onServerMessage(String s) {
- if (s.contains("reach that")) {
- openDoor();
- }
- }
- public int openDoor() {
- Obj door = getClosestObject(15, 1530);
- camera.setCompass('n');
- if (door != null) {
- door.doActionAtDoor('n', "Open");
- }
- return random(1000, 2000);
- }
Add Comment
Please, Sign In to add comment