Advertisement
Winter__

Untitled

Jul 30th, 2014
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. command /pcc <player>:
  2. trigger:
  3. if {Pickpocket.%player%} is true:
  4. if {Teams.InTeam::%player%} is equal to {Teams.InTeam::%command sender%}:
  5. if {PPTime::%player%} is set:
  6. set {PPTime::%player%} to true
  7. open arg 1's inventory to the player
  8. if {Pickpocket.%player%} is false:
  9. message "{@PM}" to the command sender
  10. stop
  11.  
  12. every second:
  13. loop-players:
  14. if {PPTime.%player%} is not set:
  15. set {PPTime::%player%} to now
  16. if {PPTime::%player%} was more than 3 minutes:
  17. delete {PPTime::%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement