Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /pcc <player>:
- trigger:
- if {Pickpocket.%player%} is true:
- if {Teams.InTeam::%player%} is equal to {Teams.InTeam::%command sender%}:
- if {PPTime::%player%} is set:
- set {PPTime::%player%} to true
- open arg 1's inventory to the player
- if {Pickpocket.%player%} is false:
- message "{@PM}" to the command sender
- stop
- every second:
- loop-players:
- if {PPTime.%player%} is not set:
- set {PPTime::%player%} to now
- if {PPTime::%player%} was more than 3 minutes:
- delete {PPTime::%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement