command /warpkaydet [<text>]:
permission: sunucu.admin
permission message: &cBu komutu kullanamazsınız.
trigger:
if arg 1 is set:
set {_uzunluk} to length of the text-argument
if {_uzunluk} is bigger than 20:
message "&cÇok uzun bir isim girdiniz."
stop
else:
if {warp::%arg 1%} is set:
delete {warp.%arg 1%}
set {warp::%arg 1%} to location of player
add arg 1 to {warpliste::*}
message "&aWarp kaydedildi."
stop
else:
message "&cKullanımm: &6/warpkaydet <warp>"
stop
command /warp [<string>] [<text>]:
permission: sunucu.admin
permission message: &cBu komutu kullanamazsınız.
trigger:
if arg 1 is set:
if arg 2 is set:
if {warp::%arg 2%} is set:
set {_arg1} to arg 1 parsed as offline player
if {_arg1} is online:
teleport {_arg1} to {warp::%arg 2%}
message "&6%arg 1% &aadlı oyuncu &6%arg 1%&a'e gönderildi."
send "&6%arg 1%&a'e ışınlandınız." to {_arg1}
stop
else:
message "&cBöyle bir oyuncu bulunamadadı."
stop
else:
message "&cBöyle bir warp bulunamadı."
stop
else:
message "&cKullanım: &6/warp <oyuncu> <warp>"
stop
else:
message "&cKullanım: &6/warp <oyuncu> <warp>"
stop
command /warpliste:
permission: sunucu.admin
permission message: &cBu komutu kullanamazsınız.
trigger:
if size of {warpliste::*} is 0:
message "&cHerhangi bir warp bulunamadı."
stop
else:
message "&e----------------------------------"
loop {warpliste::*}:
send "&6%loop-value%" to player
message "&e----------------------------------"
stop
command /warpsil [<text>]:
permission: sunucu.admin
permission message: &cBu komutu kullanamazsınız.
trigger:
if arg 1 is set:
if {warp::%arg 1%} is set:
delete {warp::%arg 1%}
remove arg 1 from {warpliste::*}
message "&aWarp silindi."
stop
else:
message "&cKullanım: &6/warpsil [<text>]"
stop