Çözüldü skriptin belli bir dünyada çalışması

  • Konuyu Başlatan Konuyu Başlatan BedirhanGC
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 632
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

BedirhanGC

Bir Kömür Göründü Kaptanım!
Katılım
10 Kasım 2016
Mesajlar
133
Elmaslar
19
Puan
13.420
Yaş
22
Konum
ParsNW.Batihost.Net
Minecraft
BugundeBaskanim

Discord:

ɫ QÜRT ɫ#5125

iyi günler arkadaşlar elimdeki scriptin sadece skyhive adındaki dünyada çalışmasını istiyorum var mı böyle bir şey ?
Kod:
on death of player:
 if player is in "world":
    if attacker is a player:
        set {_x} to random integer between 1 and 9
        set {_y} to random integer between 1 and 3
        add {_x} to {puan.%attacker%}
        add {_x} to {toplanilanpuanlar.%attacker%}
        remove {_y} from {puan.%victim%}
        add {_y} to {kaybedilenpuanlar.%victim%}
        message "&3Puan &8- &6%victim% &7adli oyuncuyu katlettigin icin &2%{_x}% &7puan kazandin!" to attacker
        message "&3Puan &8- &7Oldugun icin &4%{_y}% &7puan kaybettin!" to victim
        add 1 to {olum.%victim%}
        add 1 to {oldurme.%attacker%}


    
command /puan:
    trigger:
        message "&8&l&m--=*=--&8&l>> &3&lPuan &8&l&8&l&m--=*=--"
        message ""
        message "&8&l>> &7Puanin: &6%{puan.%player%}%"
        message "&8&l>> &7Harcanan Puan: &6%{hpuan.%player%}%"
        message ""
        message "&8&l&m--=*=--&8&l>> &3&lPuan &8&l&8&l&m--=*=--"
        
command /puanver [<player>] [<number>]:
    permission: op
    trigger:
        add arg-2 to {puan.%arg-1%}
        message "&3Puan &8- &6%arg-1%&7'e &2%arg-2% &7puan verdin."
        message "&3Puan &8- &6Yonetim  &7tarafindan sana &2%arg-2% &7puan verildi." to arg-1
        stop
        
        
command /puanal [<player>] [<number>]:
    permission: op
    trigger:
        remove arg-2 from {puan.%arg-1%}
        message "&3Puan &8- &6%arg-1%&7'den &2%arg-2% &7puan aldin."
        message "&3Puan &8- &6Yonetim  &7tarafindan senden &2%arg-2% &7puan alindi." to arg-1
        stop
        
command /puangonder [<player>] [<number>]:
    trigger:
        if {puan.%player%} is greater than arg-2:
            remove arg-2 from {puan.%player%}
            add arg-2 to {puan.%arg-1%}
            message "&3Puan &8- &e%arg-1% &7adli oyuncuya, &e%arg-2% &7puan gonderdin. Guncel puanin: &6%{puan.%player%}%" to player
            message "&3Puan &8- &e%player% &7adli oyuncu sana, &e%arg-2% &7puan gonderdi. Guncel puanin: &6%{puan.%arg-1%}%" to arg-1
        else:
            message "&3Puan &8- &7Yeterli puanin yok!"
        

            
command /shop:
    trigger:
        open chest with 4 row named "&4&lPuan Market" to the player
        format slot 0 of player with diamond helmet named "&bElmas Kask" with lore "|| &8• &7Tiklayarak &bElmas Kask &7alabilirsin.|| &8• &6100 &7puan" to close then run [make player execute command "kask e"]
        format slot 9 of player with diamond chestplate named "&bElmas Zirh" with lore "|| &8• &7Tiklayarak &bElmas Zirh &7alabilirsin.|| &8• &6100 &7puan" to close then run [make player execute command "zirh e"]
        format slot 18 of player with diamond leggings named "&bElmas Pantolon" with lore "|| &8• &7Tiklayarak &bElmas Pantolon &7alabilirsin.|| &8• &6100 &7puan" to close then run [make player execute command "pantolon e"]
        format slot 27 of player with diamond boots named "&bElmas Bot" with lore "|| &8• &7Tiklayarak &bElmas Bot &7alabilirsin.|| &8• &6100 &7puan" to close then run [make player execute command "bot e"]
        format slot 1 of player with golden helmet named "&eAltin Kask" with lore "|| &8• &7Tiklayarak &eAltin Kask &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "kask a"]
        format slot 10 of player with golden chestplate named "&eAltin Zirh" with lore "|| &8• &7Tiklayarak &eAltin Zirh &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "zirh a"]
        format slot 19 of player with Golden leggings named "&eAltin Pantolon" with lore "|| &8• &7Tiklayarak &eAltin Pantolon &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "pantolon a"]
        format slot 28 of player with golden boots named "&eAltin Bot" with lore "|| &8• &7Tiklayarak &eAltin Bot &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "bot a"]
        format slot 2 of player with chain helmet named "&7Zincir Kask" with lore "|| &8• &7Tiklayarak &7Zincir Kask &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "kask z"]
        format slot 11 of player with chain chestplate named "&7Zincir Zirh" with lore "|| &8• &7Tiklayarak &7Zincir Zirh &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "zirh z"]
        format slot 20 of player with chain leggings named "&7Zincir Pantolon" with lore "|| &8• &7Tiklayarak &7Zincir Pantolon &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "pantolon z"]
        format slot 29 of player with chain boots named "&7Zincir Bot" with lore "|| &8• &7Tiklayarak &7Zincir Bot &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "bot z"]
        format slot 5 of player with diamond sword named "&bElmas Kilic" with lore "|| &8• &7Tiklayarak &bElmas Kilic &7alabilirsin.|| &8• &680 &7puan" to close then run [make player execute command "kilic e"]
        format slot 6 of player with golden sword named "&eAltin Kilic" with lore "|| &8• &7Tiklayarak &eAltin Kilic &7alabilirsin.|| &8• &660 &7puan" to close then run [make player execute command "kilic a"]
        format slot 7 of player with iron sword named "&fDemir Kilic" with lore "|| &8• &7Tiklayarak &fDemir Kilic &7alabilirsin.|| &8• &670 &7puan" to close then run [make player execute command "kilic d"]
        format slot 15 of player with diamond axe named "&bElmas Balta" with lore "|| &8• &7Tiklayarak &bElmas Balta &7alabilirsin.|| &8• &640 &7puan" to close then run [make player execute command "balta e"]
        format slot 16 of player with golden axe named "&eAltin Balta" with lore "|| &8• &7Tiklayarak &eAltin Balta &7alabilirsin.|| &8• &620 &7puan" to close then run [make player execute command "balta a"]
        format slot 17 of player with iron axe named "&fDemir Balta" with lore "|| &8• &7Tiklayarak &fDemir Balta &7alabilirsin.|| &8• &630 &7puan" to close then run [make player execute command "balta d"]
        format slot 33 of player with book named "&4&l                 DIKKAT!" with lore "|| &8• &7&o  Bu skript &eHarunBulBull &7&otarafindan yazilmistir.|| &8• &7&o        Izinsiz paylasilmasi yasaktir!" to close
        
command /kask <text>:
    trigger:
        if arg-1 is "e":
            if {puan.%player%} is greater than 99:
                add 100 to {hpuan.%player%}
                remove 100 from {puan.%player%}
                give 1 diamond helmet to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
        if arg-1 is "a":
            if {puan.%player%} is greater than 79:
                add 80 to {hpuan.%player%}
                remove 80 from {puan.%player%}
                give 1 golden helmet to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
        if arg-1 is "z":
            if {puan.%player%} is greater than 79:
                add 80 to {hpuan.%player%}
                remove 80 from {puan.%player%}
                give 1 chain helmet to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
                
command /zşrh <text>:
    trigger:
        if arg-1 is "e":
            if {puan.%player%} is greater than 99:
                add 100 to {hpuan.%player%}
                remove 100 from {puan.%player%}
                give 1 diamond chestplate to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
        if arg-1 is "a":
            if {puan.%player%} is greater than 79:
                add 80 to {hpuan.%player%}
                remove 80 from {puan.%player%}
                give 1 golden chestplate to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
        if arg-1 is "z":
            if {puan.%player%} is greater than 79:
                add 80 to {hpuan.%player%}
                remove 80 from {puan.%player%}
                give 1 chain chestplate to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
        
command /pantolon <text>:
    trigger:
        if arg-1 is "e":
            if {puan.%player%} is greater than 99:
                add 100 to {hpuan.%player%}
                remove 100 from {puan.%player%}
                give 1 diamond leggings of protection 4 with lore "&bÖzel Item" to the player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
        if arg-1 is "a":
            if {puan.%player%} is greater than 79:
                add 80 to {hpuan.%player%}
                remove 80 from {puan.%player%}
                give 1 golden leggings to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
        if arg-1 is "z":
            if {puan.%player%} is greater than 79:
                add 80 to {hpuan.%player%}
                remove 80 from {puan.%player%}
                give 1 chain leggings to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
                
command /bot <text>:
    trigger:
        if arg-1 is "e":
            if {puan.%player%} is greater than 99:
                add 100 to {hpuan.%player%}
                remove 100 from {puan.%player%}
                give 1 diamond boots to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
        if arg-1 is "a":
            if {puan.%player%} is greater than 79:
                add 80 to {hpuan.%player%}
                remove 80 from {puan.%player%}
                give 1 golden boots to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
        if arg-1 is "z":
            if {puan.%player%} is greater than 79:
                add 80 to {hpuan.%player%}
                remove 80 from {puan.%player%}
                give 1 chain boots to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
                
command /kilic <text>:
    trigger:
        if arg-1 is "e":
            if {puan.%player%} is greater than 79:
                add 80 to {hpuan.%player%}
                remove 80 from {puan.%player%}
                give 1 diamond sword to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
        if arg-1 is "a":
            if {puan.%player%} is greater than 59:
                add 60 to {hpuan.%player%}
                remove 60 from {puan.%player%}
                give 1 golden sword to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
        if arg-1 is "d":
            if {puan.%player%} is greater than 69:
                add 70 to {hpuan.%player%}
                remove 70 from {puan.%player%}
                give 1 iron sword to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
                
command /balta <text>:
    trigger:
        if arg-1 is "e":
            if {puan.%player%} is greater than 39:
                add 40 to {hpuan.%player%}
                remove 40 from {puan.%player%}
                give 1 diamond axe to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
        if arg-1 is "a":
            if {puan.%player%} is greater than 19:
                add 20 to {hpuan.%player%}
                remove 20 from {puan.%player%}
                give 1 golden axe to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
        if arg-1 is "d":
            if {puan.%player%} is greater than 29:
                add 30 to {hpuan.%player%}
                remove 30 from {puan.%player%}
                give 1 iron axe to player
            else:
                message "&3Puan Market &8- &7Yetersiz puan."
 
Kod:
on command "/puan":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
    
on command "/puanal":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
      
on command "/puangonder":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
    
on command "/shop":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
      
on command "/kask":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
    
on command "/zşrh":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
      
on command "/pantolon":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
    
on command "/bot":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
      
on command "/kilic":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
    
on command "/balta":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
 
Kod:
on command "/puan":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
   
on command "/puanal":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
     
on command "/puangonder":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
   
on command "/shop":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
     
on command "/kask":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
   
on command "/zşrh":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
     
on command "/pantolon":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
   
on command "/bot":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
     
on command "/kilic":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
   
on command "/balta":
    if player is in "skyhive":
        cancel event
        send "Bu komudu yalnızca SkyHive bölgesinde kullanabilirsin."
world dünyasi ile skyhive dünyasındaki öldürmeler farklı death kısmının sadece skyhive dünyasında çalışması laızm
 
Kod:
on death of player:
    if player's world is "skyhive":
        if attacker is a player:
            set {_x} to random integer between 1 and 9
            set {_y} to random integer between 1 and 3
            add {_x} to {puan.%attacker%}
            add {_x} to {toplanilanpuanlar.%attacker%}
            remove {_y} from {puan.%victim%}
            add {_y} to {kaybedilenpuanlar.%victim%}
            message "&3Puan &8- &6%victim% &7adli oyuncuyu katlettigin icin &2%{_x}% &7puan kazandin!" to attacker
            message "&3Puan &8- &7Oldugun icin &4%{_y}% &7puan kaybettin!" to victim
            add 1 to {olum.%victim%}
            add 1 to {oldurme.%attacker%}
Bunu Deneyebilrsin Ama else Koşullarını Koymanı Öneririm
 
Kod:
on death of player:
    if player's world is "skyhive":
        if attacker is a player:
            set {_x} to random integer between 1 and 9
            set {_y} to random integer between 1 and 3
            add {_x} to {puan.%attacker%}
            add {_x} to {toplanilanpuanlar.%attacker%}
            remove {_y} from {puan.%victim%}
            add {_y} to {kaybedilenpuanlar.%victim%}
            message "&3Puan &8- &6%victim% &7adli oyuncuyu katlettigin icin &2%{_x}% &7puan kazandin!" to attacker
            message "&3Puan &8- &7Oldugun icin &4%{_y}% &7puan kaybettin!" to victim
            add 1 to {olum.%victim%}
            add 1 to {oldurme.%attacker%}
Bunu Deneyebilrsin Ama else Koşullarını Koymanı Öneririm
teşekkürler konut kilit
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst