Advertisement
Winter__

Untitled

Jul 30th, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 false:
  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. else:
  12. if {Teams.InTeam::%player%} is not equal to {Teams.InTeam::%command sender%}:
  13. message "{@P} You cannot open another inventory for another %{PPTime::%player%}% minutes!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement