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
- {jl.jump1} = 0
- {jl.jump2} = 0
- {jl.jump3} = 0
- {jl.jump4} = 0
- {jl.jump5} = 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.joueurs} is 1:
- add player to {jl.jump1}
- else if {jl.joueurs} is 2:
- add player to {jl.jump2}
- else if {jl.joueurs} is 3:
- add player to {jl.jump3}
- else if {jl.joueurs} is 4:
- add player to {jl.jump4}
- else if {jl.joueurs} is 5:
- add player to {jl.jump5}
- if {jl.start.joueurs} is 3:
- execute console command "/jl start"
- on quit:
- if player is not op:
- add -1 to {jl.joueurs}
- add -1 to {jl.start.joueurs}
- #Admin
- command /jl <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 "jump1":
- set {jl.teleport.jump1} to location of player
- send "{@logo}Parcours 1 fait!"
- if argument 2 is "jump2":
- set {jl.teleport.jump2} to location of player
- send "{@logo}Parcours 2 fait!"
- if argument 2 is "jump3":
- set {jl.teleport.jump3} to location of player
- send "{@logo}Parcours 3 fait!"
- if argument 2 is "jump4":
- set {jl.teleport.jump4} to location of player
- send "{@logo}Parcours 4 fait!"
- if argument 2 is "jump5":
- set {jl.teleport.jump5} to location of player
- send "{@logo}Parcours 5 fait!"
- 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
- broadcast "{@logo}C'est parti!"
- stop
- teleport {jl.jump1} to {jl.teleport.jump1}
- if argument 1 is "view":
- send "{@logo}Il y a &6%{jl.joueurs}% &fdans la partie"
Advertisement
Add Comment
Please, Sign In to add comment