command /pcc : trigger: if {Pickpocket.%player%} is true: if {Teams.InTeam::%player%} is equal to {Teams.InTeam::%command sender%}: if {PPTime::%player%} is false: 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 else: message "{@P} You cannot open another inventory for another %{PPTime::%player%}% minutes!" 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%}