Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /pcc <player>:
- trigger:
- if {_PickPocketer} is true:
- set {_timepassed} to 0
- set {_timeleft} to 3
- on right click of player:
- if {_timeleft} is 0:
- if {_timepassed} is 3:
- if {cannot.open:%player%} is false:
- set {cannot.open:%player%} to true
- open arg 1's inventory for the player
- while {_timeleft} is greater than 0:
- wait 1 minute
- add 1 to {_timepassed}
- subtract 1 from {_timeleft}
- stop
- if {_timepassed} is 3:
- set {cannot.open:%player%} to false
- open arg 1's inventory for the player
- else:
- message "{@P} You cannot open a player's inventory for another %{_timeleft}% minutes!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement