options:
kayitmesaji: Dusunce dogulacak yer kaydedildi!
dususmesaji: &4&lUyarı &8» &7Adadan düştüğün için başlangıç noktasına ışınlandın.
command /dusunceburadandevamet:
permission: skript.admin
trigger:
set {vspawn} to location of player
message "{@kayitmesaji}"
stop
on damage:
if y-coordinate of victim is below 0:
cancel event
teleport victim to {vspawn}
send "{@dususmesaji}" to victim
stop
Kod:options: kayitmesaji: Dusunce dogulacak yer kaydedildi! dususmesaji: &4&lUyarı &8» &7Adadan düştüğün için başlangıç noktasına ışınlandın. command /dusunceburadandevamet: permission: skript.admin trigger: set {vspawn} to location of player message "{@kayitmesaji}" stop on damage: if y-coordinate of victim is below 0: cancel event teleport victim to {vspawn} send "{@dususmesaji}" to victim stop
options:
kayitmesaji: Dusunce dogulacak yer kaydedildi!
dususmesaji: &4&lUyarı &8» &7Adadan düştüğün için başlangıç noktasına ışınlandın.
command /dusunceburadandevamet:
permission: skript.admin
trigger:
set {v1spawn} to location of player
message "{@kayitmesaji}"
stop
on damage:
if y-coordinate of victim is below 0:
cancel event
if player's world is "dünya1":
teleport victim to {v1spawn}
send "{@dususmesaji}" to victim
stop
if player's world is "dünya2":
teleport victim to {v2spawn}
send "{@dususmesaji}" to victim
stop
command /dusunceburadandevamet2:
permission: skript.admin
trigger:
set {v2spawn} to location of player
message "{@kayitmesaji}"
stop
Kod:options: kayitmesaji: Dusunce dogulacak yer kaydedildi! dususmesaji: &4&lUyarı &8» &7Adadan düştüğün için başlangıç noktasına ışınlandın. command /dusunceburadandevamet: permission: skript.admin trigger: set {v1spawn} to location of player message "{@kayitmesaji}" stop on damage: if y-coordinate of victim is below 0: cancel event if player's world is "dünya1": teleport victim to {v1spawn} send "{@dususmesaji}" to victim stop if player's world is "dünya2": teleport victim to {v2spawn} send "{@dususmesaji}" to victim stop command /dusunceburadandevamet: permission: skript.admin trigger: set {v2spawn} to location of player message "{@kayitmesaji}" stop
çalışıyor denendi , komut ismini değiştirmemişim.Bu skriptte /dusunceburadandevamet yazdığımızda hem v1spawn hem de v2spawn'ı aynı yere kaydeder.