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