Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 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. set {inf.players} to {_inf.players}
  9. wait 6 ticks
  10. send "&d&o[Server] Skript Infected 0.1! (LIGANDO) &b&o@theluksabm" to console
  11. set {inf.players} to {_inf.players}
  12. set {inf.mp} to false
  13.  
  14. On Skript stop:
  15. set {inf.players} to {_inf.players}
  16. wait 6 ticks
  17. send "&d&o[Server] Skript Infected 0.1! (DESLIGANDO) &b&o@theluksabm" to console
  18. set {inf.players} to {_inf.players}
  19. set {inf.mp} to false
  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.  
  34. command /players:
  35. aliases: online , jogadores , list
  36. trigger:
  37. send "Jogadores: %{inf.players}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement