Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /addarea:
- trigger:
- loop all blocks in the region teste: #change name of region
- add location of loop-block to {tsw.games.blocks::*}
- add type of loop-block to {tsw.games.type::*}
- command /restorearea:
- trigger:
- loop {tsw.games.blocks::*}:
- set {_loc} to loop-value
- set block at {_loc} to {tsw.game.type::%loop-index%}
- delete {tsw.game.blocks::*}
- delete {tsw.game.type::*}
Advertisement
Add Comment
Please, Sign In to add comment