iku55 Jul 21st, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /maptp [<text>]:
  2.     trigger:
  3.         if arg-1 is not set:
  5.         else if arg-1 is "tp":
  6.             loop {map::*}:
  7.                 add 1 to {_maps}
  8.             set {_random} to random integer between 1 and {_maps}
  9.             loop all players:
  10.                 if {%loop-player%_join?} is "join":
  11.                     teleport loop-player to {map::%{_random}%}
  12.         else if arg-1 is "map":
  13.             add location of player to {map::*}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand