options:
ışınlanma: &7Lobiye &eışınlanıyorsun&8...
lobihata: &7Üzgünüm&8! &7Lobi &ebelirlenmemiş&8.
lobiayarlandı: &7Lobi &eayarlandı&8.
kullanım: &7Doğru kullanım&8: &e/lobi &7veya &e/lobi 2
prefix: &8[&eMC-TR&8]
command lobi [<text>]:
trigger:
if arg 1 isn't set:
if {lobi} is set:
send "{@prefix} {@ışınlanma}" to player
wait 2 seconds
teleport player to {lobi}
else:
send "{@prefix} {@lobihata}" to player
else:
if arg 1 is "ayarla":
if player has permission "lobi.ayarla":
send "{@prefix} {@lobiayarlandı}" to player
set {lobi} to location of player
else:
send "{@prefix} {@kullanım}" to player
if arg 1 is "ayarla2":
if player has permission "lobi.ayarla":
send "{@prefix} {@lobiayarlandı}" to player
set {lobi2} to location of player
else:
send "{@prefix} {@kullanım}" to player
if arg 1 is "iki" or "2":
if {lobi2} is set:
send "{@prefix} {@ışınlanma}" to player
wait 2 seconds
teleport player to {lobi2}
else:
send "{@prefix} {@lobihata}" to player
if arg 1 is "bir" or "1":
if {lobi} is set:
send "{@prefix} {@ışınlanma}" to player
wait 2 seconds
teleport player to {lobi}
else:
send "{@prefix} {@lobihata}" to player