Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- logo: &7[&6JumpLeague&7] &f
- variables:
- {jl.joueurs} = 0
- {jl.start.joueurs} = 0
- on join:
- if player is op:
- send "{@logo}Vous êtes opérateur, et donc en spectateur."
- else:
- clear inventory of player
- teleport player to {jl.teleport.waitroom}
- add 1 to {jl.joueurs}
- add 1 to {jl.start.joueurs}
- if {jl.start.joueurs} is 1:
- execute console command "/jl start"
- on quit:
- if player is not op:
- remove 1 from {jl.joueurs}
- remove 1 from {jl.start.joueurs}
- #Admin
- command /jl <text> [<text>] [<text>]:
- trigger:
- if argument 1 is "set":
- if argument 2 is "waitroom":
- set {jl.teleport.waitroom} to location of player
- send "{@logo}Waitroom faite!"
- if argument 2 is "jump":
- if argument 3 is "1":
- set {jump%arg-3%.spawn} to location of player
- send "{@logo}Jump 1 fait avec succès!"
- if argument 3 is "2":
- set {jump%arg-3%.spawn} to location of player
- send "{@logo}Jump 2 fait avec succès!"
- if argument 3 is "3":
- set {jump%arg-3%.spawn} to location of player
- send "{@logo}Jump 3 fait avec succès!"
- if argument 3 is "4":
- set {jump%arg-3%.spawn} to location of player
- send "{@logo}Jump 4 fait avec succès!"
- if argument 3 is "5":
- set {jump%arg-3%.spawn} to location of player
- send "{@logo}Jump 5 fait avec succès!"
- if argument 1 is "start":
- set {_chrono} to 16
- loop 15 times:
- add -1 to {_chrono}
- wait 15 ticks
- if {_chrono} is 15, 10, 5, 4, 3, 2 or 1:
- broadcast "{@logo}La partie commence dans &6%{_chrono}% &fsecondes!"
- wait 15 ticks
- execute console command "jl start2"
- send "commande faite"
- if argument 1 is "start2":
- loop all players:
- if player is op:
- send "{@logo}Vous êtes opérateur, vous ne participez donc pas a la partie."
- else:
- set {_random} to random number between 1 and 5
- wait 5 ticks
- teleport loop-player to {jump%{_random}%.spawn}
- send "test"
- if argument 1 is "view":
- send "{@logo}Il y a &6%{jl.joueurs}% &f joueurs dans la partie"
- if argument 1 is "reset":
- set {jl.joueurs} to 0
- set {jl.start.joueurs} to 0
Advertisement
Add Comment
Please, Sign In to add comment