Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'busy2':
- command: /duty
- type: RUN_COMMAND
- runcmd:
- - $Script$%if%%PlayerData%togglebusy!=0 #Check if the PlayerVariable "togglebusy≠0". If true it runs the commands under it.
- - '/manudelv $player prefix'
- - $Script$%PlayerData%togglebusy=1 #sets "togglebusy" to 1
- - "%PlayerOptions%playSound: ORB_PICKUP:1.0F:2"
- - $Script$%else% #if not do these commands
- - '/manusetp $player prefix &4[Busy] &c'
- - $Script$%PlayerData%togglebusy=0 #sets "togglebusy" to 0
- error-message: '&c[Duty]&6 Sorry Admiral Something went wrong.'
- success-message: '&c[Duty]&a ON DUTY SET.'
- permission-node: essentials.tp.others
- permission-error: '&c[The Boss]&6 What are you doing, you filthy scrubber? Do you want to be banned?'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement