Zeldaboy111

Skript #255 - lobby

Oct 27th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. options:
  2. logo: &6Server &7▬ &f
  3. lobby: &cLobby &7► &f
  4.  
  5.  
  6. on join:
  7. if {lobby.location} is set:
  8. teleport player to {lobby.location}
  9. set join message to ""
  10. send "{@lobby} De speler %player% is gejoined!" to all players in world of player
  11.  
  12.  
  13. on command:
  14. command is "plugins" or "pl":
  15. cancel event
  16.  
  17. if player is not op:
  18. stop
  19.  
  20. else:
  21. set {_list::*} to list of plugins
  22. set {_count} to 0
  23. loop {_list::*}:
  24. add 1 to {_count}
  25. send "{@logo} Plugins lijst:%nl%&f(&a%{_count}%&f) &2%list of plugins%"
  26.  
  27. else:
  28. set {cmd} to "%command to lower case%"
  29.  
  30.  
  31. command /lobby [<text>] [<text>]:
  32. aliases: /hub
  33. trigger:
  34. if player has permission "lobby.*":
  35. if arg-1 is set:
  36. if arg-1 is "help":
  37. send "&c----------= &4%{cmd}% &c=----------"
  38. send "&f&o/%{cmd}% help &d× &fKrijg help pagina"
  39. send "&f&o/%{cmd}% set &d× &fZet de lobby"
  40. send "&c----------= &4%{cmd}% &c=----------"
  41.  
  42. else if arg-1 is "set":
  43. send "{@logo} Succesvol de %{cmd}% gezet naar je locatie!"
  44. set {lobby.location} to location of player
  45.  
  46. else:
  47. if {lobby.location} is set:
  48. teleport player to {lobby.location}
  49. send "{@lobby} De speler %player% is naar de lobby gegaan!" to all players in world of player
  50.  
  51. else:
  52. send "{@lobby} &cDe %{cmd}% is nog niet gezet!"
  53.  
  54.  
  55. else if {lobby.location} is set:
  56. teleport player to {lobby.location}
  57. send "{@lobby} De speler %player% is naar de lobby gegaan!" to all players in world of player
  58.  
  59. else:
  60. send "{@lobby} &cDe %{cmd}% is nog niet gezet!"
Add Comment
Please, Sign In to add comment