Reframed

Untitled

Jul 4th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. command /cps [<offlineplayer>]:
  2. trigger:
  3. if player has permission "yourperm":
  4. if arg-1 is set:
  5. if arg-1 is online:
  6. send "recording %arg 1%'s cps for the next 10 seconds"
  7. set {cps.%arg 1%} to true
  8. wait 10 seconds
  9. delete {cps.%arg 1%}
  10. send "%arg 1%'s cps was %{cpstotal.%arg 1%}%"
  11. delete {cpstotal.%arg 1%}
  12. else:
  13. send "%arg 1% isnt online"
  14. else:
  15. send "please specify a player"
  16. else:
  17. send "ur not allowed to do this"
  18.  
  19. on leftclick:
  20. if {cps.%player%} is true:
  21. add 1 to {cpstotal.%player%}
Advertisement
Add Comment
Please, Sign In to add comment