options:
prefix : &8[&cSkyblock&8]
adaworld : askyblock
command /adafly:
trigger:
if world of player is "{@adaworld}":
if {fly::%player%} is false or not set:
set {fly::%player%} to true
send "{@prefix} &7Uçuş &aaktif!" to player
set flight state of player to true
if {fly::%player%} is true:
set {fly::%player%} to false
send "{@prefix} &7Uçuş &ckapalı!" to player
set flight state of player to false
else:
send "{@prefix} &cBu komutu yalnızca adanda kullanabilirsin!" to player
on command "spawn":
if {fly::%player%} is true:
set {fly::%player%} to false