Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /maptp [<text>]:
- trigger:
- if arg-1 is not set:
- else if arg-1 is "tp":
- loop {map::*}:
- add 1 to {_maps}
- set {_random} to random integer between 1 and {_maps}
- loop all players:
- if {%loop-player%_join?} is "join":
- teleport loop-player to {map::%{_random}%}
- else if arg-1 is "map":
- add location of player to {map::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement