Guest User

Untitled

a guest
Mar 9th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. variables:
  2. {hardcore.group.default} = 1440
  3. {hardcore.group.vip1} = 240
  4. {hardcore.group.vip2} = 120
  5. {hardcore.group.admin} = 0
  6. on death of player:
  7. player is in world "hardcore"
  8. player has permission "SkControl.mod":
  9. set {hardcore.%player%.time} to {hardcore.group.admin}
  10. stop trigger
  11. player has permission "SkControl.vip1":
  12. set {hardcore.%player%.time} to {hardcore.group.vip1}
  13. stop trigger
  14. player has permission "SkControl.vip2":
  15. set {hardcore.%player%.time} to {hardcore.group.vip2}
  16. stop trigger
  17. set {hardcore.%player%.time} to {hardcore.group.default}
  18. on respawn:
  19. player is in world "hardcore"
  20. {hardcore.%player%.time} is a time span:
  21. send "Sorry you are still banned for" to player
  22. make player execute command "/spawn"
  23. command /join [<text>]:
  24. trigger:
  25. If {hardcore.%player%.time} is a time span:
  26. make player execute command "/spawn"
  27. else:
  28. make console execute command "/mv tp %player% %arg 1%"
  29. command /clear [<text>]:
  30. trigger:
  31. clear {hardcore.%player%.time}
  32. every minute:
  33. loop all players:
  34. If {hardcore.%player%.time} is less than a minute:
  35. clear {hardcore.%player%.time}
  36. else:
  37. reduce {hardcore.%player%.time} by 1 minute
Advertisement
Add Comment
Please, Sign In to add comment