Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. if (c.inWild()) {
  2. c.getActionAssistant().Send("You cannot use this command in the wilderness.");
  3. return;
  4. }
  5. int teleroom = Misc.random(2);
  6. //c.getActionAssistant().startTeleport(3297, 9824, 0, "modern");
  7. //if (teleroom == 0) {
  8. c.getActionAssistant().startTeleport(3293, 3181, 0, "modern");
  9. }
  10. else if (teleroom == 1) {
  11. c.getActionAssistant().startTeleport(3660, 3522, 0, "Ancient");
  12. }
  13. //else if (teleroom == 2) {
  14. //c.getActionAssistant().startTeleport(2772, 3214, 0, "modern");
  15. }
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement