Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /apply:
- description: Receive information on how to apply for staff!
- executable by: players
- trigger:
- set {_waited} to difference between {apply.%player%.lastused} and now
- if {_waited} is less than a minute:
- player has permission "sk.bypass":
- message "&bApply for staff at the link: <link here>!"
- else:
- message "&cSorry, you must wait 1 minute between uses of /apply!"
- else:
- message "&bApply for staff at the link: <link here>!"
- set {apply.%player%.lastused} to now
- # Any player with OP will not need the sk.bypass permission.
- # replace <link here> with the link to any application.
- # You can copy/paste the same thing over for several links if you want, just replace command /apply with command /<commandname>, and
- # replace {apply.%player%.lastused} to {<commandname>.%player%.lastused}
- # The command works because it will set {_waited} to how long you waited before the last use of /apply.
- # It'll then see if it's less than a minute, in which case it'll deny your usage of the command.
- # If you have sk.bypass permission you won't get denied.
- # If you have waited more than a minute, you will get the application link, and the {apply.%player%.lastused} will be set to the
- # current time.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement