options:
p: &eSunucu &6Ismi &8| &7
command /spawnbelirle:
permission: sk.randomspawn
permission message: &4Gerekli Yetkiye Sahip Değilsin !
trigger:
if {yer::*} isn't set:
if {yersayi} isn't set:
set {yersayi} to 1
set {yer::*} to ""
set {_location} to ""
set {_location} to player's location
add {_location} to {yer::*}
send "{@p}Yer Belirlendi ! &2%{_location}%" to player
else:
if {yersayi} isn't set:
set {yersayi} to 1
else:
add 1 to {yersayi}
set {_location} to ""
set {_location} to player's location
add {_location} to {yer::*}
send "{@p}Yer Belirlendi ! &2%{_location}%" to player
on respawn:
if size of {yer::*} is more than 0:
set {_dogulacakyer} to a random element out of {_list::*}
teleport player to {_dogulacakyer}
send "{@p}Yeniden Doğdun !" to player