SerhatGundogdu
Zombi Katili
- En iyi cevaplar
- 0
Küçük Hataları olabilir issizlikten kodladım :3
Kod:
command /warp [<text>] [<text>]:
permission: warp.player
permission message : &8[&6Server&8] &7You don't have
trigger:
if arg 1 is not set:
send "&eWarp Listesi:"
send "&eWarp :&c %{warplistesi::*}%"
if arg 1 is "ekle":
if arg 2 is set:
loop {warplistesi::*}:
if loop-value is not arg 2:
set {warp.%arg 2%} to location of player
add arg 2 to {warplistesi::*}
send "&eWarp Eklendi."
if arg 1 is set:
if arg 2 is not set:
if arg 1 is not "sil" or "ekle":
loop {warplistesi::*}:
if loop-value is arg 1:
teleport player to {warp.%arg 1%}
send "&fWarp %arg 1%!"
else:
send "böle bir warp yok"
if arg 1 is "sil":
if arg 2 is set:
loop {warplistesi::*}:
if loop-value is arg 2:
send "%arg 2% silindi."
remove arg 2 from {warplistesi::*}
remove {warp.%arg 2%} from location of player
if {warplistesi::*} is not set:
set {warplistesi::*} to ""
else:
send "böle bir warp yok"