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 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!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement