- Katılım
- 17 Tem 2020
- Mesajlar
- 1
- Beğeni
- 0
- Puanları
- 10

Merhabalar ben serverimde npcye bir komut ekliyorum ama komut çalışmıyor söyle bir hata veriyor
Kullandığım komut 'randomtp'
Kullandığım komutun skripti:
Kullandığım komut 'randomtp'
Kullandığım komutun skripti:
Kod:
]
command /tpayarla [<text>]:
permission: *
trigger:
arg-1 isn't set:
send "kullanım: /tpayarla 1-10 arası bir sayı"
stop
arg-1 is "1":
set {1.randomtpl} to event-location
arg-1 is "2":
set {2.randomtpl} to event-location
arg-1 is "3":
set {3.randomtpl} to event-location
arg-1 is "4":
set {4.randomtpl} to event-location
arg-1 is "5":
set {5.randomtpl} to event-location
arg-1 is "6":
set {6.randomtpl} to event-location
arg-1 is "7":
set {7.randomtpl} to event-location
arg-1 is "8":
set {8.randomtpl} to event-location
arg-1 is "9":
set {9.randomtpl} to event-location
arg-1 is "10":
set {10.randomtpl} to event-location
send "<red>%arg-1%. bölge başarıyla ayarlandı"
command /randomtp:
trigger:
send "&aUzun Bir Yolculuk Bizi Bekliyor"
wait 1 seconds
chance of 30%:
teleport player to {1.randomtpl}
else if chance of 30%:
teleport player to {2.randomtpl}
else if chance of 30%:
teleport player to {3.randomtpl}
else if chance of 30%:
teleport player to {4.randomtpl}
else if chance of 30%:
teleport player to {5.randomtpl}
else if chance of 30%:
teleport player to {6.randomtpl}
else if chance of 30%:
teleport player to {7.randomtpl}
else if chance of 30%:
teleport player to {8.randomtpl}
else if chance of 30%:
teleport player to {9.randomtpl}
else if chance of 30%:
teleport player to {10.randomtpl}