Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /fly [<text>]:
- aliases: /flight
- permission: sk.command.fly
- permission message: &cI'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error.
- trigger:
- if arg 1 is set:
- if arg 1 is not "true" or "false" or "enable" or "disable":
- send "&cUsage:/fly <true|false|enable|disable>"
- stop
- if arg 1 is "true":
- set {fly.%player%} to true
- if arg 1 is "false":
- set {fly.%player%} to false
- if arg 1 is "enable":
- set {fly.%player%} to true
- if arg 1 is "disable":
- set {fly.%player%} to false
- if {fly.%player%} is true:
- set player's flight mode to true
- send "&afly mode is enabled now"
- if {fly.%player%} is false:
- set player's flight mode to false
- send "&cfly mode is disabled now"
- if arg 1 is not set:
- if {fly.%player%} is false:
- set {fly.%player%} to true
- stop
- if {fly.%player%} is true:
- set {fly.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment