Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. #Esse script estou fazendo para pessoas que não vão me dar nada em troca.
  2. #Sistema de players
  3.  
  4. options:
  5. inf.players: 2
  6.  
  7. On Skript start:
  8. send "&d&o[Server] Skript Infected 0.1! &b&o@theluksabm" to console
  9. set {inf.players} to 0
  10. set {inf.mp} to false
  11.  
  12. on command /sk reload all:
  13. wait 2 ticks
  14. if {inf.players} is equal 0:
  15. continue
  16. else if :
  17. set {inf.players2} to {inf.players}
  18. wait 2 ticks
  19. continue
  20.  
  21. on join:
  22. add 1 to {inf.players}
  23. set join message to "&e&o[+1] Jogadores:%{inf.players}%"
  24. if {inf.players} is greater or equal to {@inf.players}:
  25. set {inf.mp} to true
  26.  
  27. on quit:
  28. subtract 1 from {inf.players}
  29. set quit message to "&e&o([-1] Jogadores:%{inf.players}%"
  30. if {inf.players} is less than {@inf.players}:
  31. set {inf.mp} to false
  32.  
  33. command /players:
  34. aliases: online , jogadores , list
  35. trigger:
  36. send "Jogadores: %{inf.players}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement