Jump to content

Drops on/off


Recommended Posts

command /drops [<text>]:
  permission: skript.drops
  permission message: &cNo permission.
  trigger:
    if arg-1 is "on":
      set {Drops} to true
      send "&aDropping is now allowed!"
      stop
    else if {Drops} is true:
      send "&cDrops are already allowed!"
    if arg-1 is "off":
      set {Drops} to false
      send "&cDropping is now disallowed"
      stop
    else if {Drops} is false:
      send "&cDrops are already disallowed!"
      stop


on drop:
  if {Drops} is true:
    stop
  if {Drops} is false:
    cancel event
  
    
    

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...