Herturlu yardim edilir istek script yapilir

Metin2TR

Demir Madencisi
En iyi cevaplar
0
Liberator belki beni Tanırsın :D Metin2 RPG açmıştım pluginlerde cog ugraştım ama yaptım skriple cook rahat yaparız sen bana öğret gece gunduz onu yaparım Ortak Olalım Diyorsan Öncelikle Şartlarım Adaletli-Saygılı-Sevgi Bunlar Olsun Yeter
 

Chriminal

Taş Madencisi
En iyi cevaplar
0
Ben Bunu İstiyorum Mesala Lapis Satmak İçin /sell lapis yerine /Sat Yapabilirsimisin
 

mrbobaking

Kızıltaş Madencisi
En iyi cevaplar
0
Linki görebilmek için üye olmanız gerekiyor. Giriş yap veya üye ol.

Buyur istegin
Kod hali
Kod:
command /yersec1:
    trigger:
        set {yer1} to location of player
        send "yer1 %{yer1}% kordinatlarina kaydedildi" to player
command /yersec2:
    trigger:
        set {yer2} to location of player
        send "yer2 %{yer2}% kordinatlarina kaydedildi" to player
command /yersec3:
    trigger:
        set {yer3} to location of player
        send "yer3 %{yer3}% kordinatlarina kaydedildi" to player
command /yersec4:
    trigger:
        set {yer4} to location of player
        send "yer4 %{yer4}% kordinatlarina kaydedildi" to player
command /yersec5:
    trigger:
        set {yer5} to location of player
        send "yer5 %{yer5}% kordinatlarina kaydedildi" to player
command /yersec6:
    trigger:
        set {yer6} to location of player
        send "yer6 %{yer6}% kordinatlarina kaydedildi" to player
command /yersec7:
    trigger:
        set {yer7} to location of player
        send "yer7 %{yer7}% kordinatlarina kaydedildi" to player
command /yersec8:
    trigger:
        set {yer8} to location of player
        send "yer8 %{yer8}% kordinatlarina kaydedildi" to player
      
command /yersec9:
    trigger:
        set {yer9} to location of player
        send "yer9 %{yer9}% kordinatlarina kaydedildi" to player
command /yersec10:
    trigger:
        set {yer10} to location of player
        send "yer10 %{yer10}% kordinatlarina kaydedildi" to player
on right click on a sign:
    line 1 of clicked block contains "[Arena]"
    line 2 of clicked block contains "1"
    line 3 of clicked block contains "Tıkla git"
    set {rsg_} to random integer between 1 and 10
    if {rsg_} is 1:
        teleport player to {yer1}
        if {rsg_} is 2:
            teleport player to {yer2}
            if {rsg_} is 3:
                teleport player to {yer3}
                if {rsg_} is 4:
                    teleport player to {yer4}
                    if {rsg_} is 5:
                        teleport player to {yer5}
                        if {rsg_} is 6:
                            teleport player to {yer6}
                            if {rsg_} is 7:
                                teleport player to {yer7}
                                if {rsg_} is 8:
                                    teleport player to {yer8}
                                    if {rsg_} is 9:
                                        teleport player to {yer9}
                                        if {rsg_} is 10:
                                            teleport player to {yer10}

Kullanım
Bir tabela koy, ilk satirini [Arena] ikinciyi 1 üçüncüyü "Tıkla git" yap
Sonra /yersec1 /yersec2 /yersec3 diye /yersec10 a kadar istediğin 10 yeri belirle
Daha sonra tabelayi test et sorun olursa buradan bildir
niye bu kadar uzun yaptın?
Kod:
on right click on a sign:
    line 1 of clicked block contains "[Arena]"
    line 2 of clicked block contains "1"
    line 3 of clicked block contains "Tıkla git"ü
    set {errorcounter} to 0
    while {errorcounter} is smaller than 10:
        add 1 to {errorcounter}
        if {place.%{errorcounter}%} is not set:
            message "<red>%{errorcounter}% yeri belirlenmemiş!"
    set {errorcounter} to 0
    set {rsg_} to random integer between 1 and 10
    teleport the player to {place.%{rsg_}%}

command /yer:
    permission: admin.admin
    trigger:
        add 1 to {placecount}
        set {place.%{placecount}%} to the player's location
        message "<gold>Yer basariyla kaydedildi!"

böyle daha kısa ve hata var mı ona da bakıyor
 

tree

Demir Madencisi
En iyi cevaplar
0
niye bu kadar uzun yaptın?
Kod:
on right click on a sign:
    line 1 of clicked block contains "[Arena]"
    line 2 of clicked block contains "1"
    line 3 of clicked block contains "Tıkla git"ü
    set {errorcounter} to 0
    while {errorcounter} is smaller than 10:
        add 1 to {errorcounter}
        if {place.%{errorcounter}%} is not set:
            message "<red>%{errorcounter}% yeri belirlenmemiş!"
    set {errorcounter} to 0
    set {rsg_} to random integer between 1 and 10
    teleport the player to {place.%{rsg_}%}

command /yer:
    permission: admin.admin
    trigger:
        add 1 to {placecount}
        set {place.%{placecount}%} to the player's location
        message "<gold>Yer basariyla kaydedildi!"

böyle daha kısa ve hata var mı ona da bakıyor
öyle yapıcaksan placecount verisini silmeyi de eklemelisin yoksa yanlış bi yeri seçerse geri alamaz.
 

Bartuzen

Bedrock Kaşifi
En iyi cevaplar
0
Bana her şey yerine geçecek bir şey lazım. Yani mesela
if player's name is "-Test"
Burada o - yazınca her şey olabilecek. yani aTest de olacak bTest de olacak abTest de olacak.
 

Bartuzen

Bedrock Kaşifi
En iyi cevaplar
0
PHP:
on join:
    set {_checker} to the last 4 characters of player's name
    if {_checker} contains "Test":
        ##Buraya kendi kodun....
Bide şöyle bir kodum var.
Kod:
every ticks:
    loop all sheeps:
        loop-entity's name is "TNT"
        set {_tnt} to random integer between 0 and 8
        if {_tnt} is 0:
            set the colour of loop-entity to red
        if {_tnt} is 1:
            set the colour of loop-entity to blue
        if {_tnt} is 2:
            set the colour of loop-entity to yellow
        if {_tnt} is 3:
            set the colour of loop-entity to green
        if {_tnt} is 4:
            set the colour of loop-entity to purple
        if {_tnt} is 5:
            set the colour of loop-entity to orange
        if {_tnt} is 6:
            set the colour of loop-entity to magenta
        if {_tnt} is 7:
            set the colour of loop-entity to cyan
        if {_tnt} is 8:
            set the colour of loop-entity to pink
on place of a tnt:
    cancel event
    remove 1 tnt from player's inventory
    spawn a sheep at player's target block
    set last spawned entity's name to "TNT"
    create an explosion of force 5 at last spawned entity
    kill the sheep
on death of a sheep:
    sheep's display name is "TNT"
    clear drops
TNT koyunca koyun doğuyor eğer o koyun patlamadan başka tnt koyulursa o patlıyor bu patlamıyor. Sebebi ise last spawned entity yazmama fakat sheep yazınca hata da vermiyor patlamıyor da.
 

Liberator

Ağaç Yumruklayıcı
En iyi cevaplar
0
Bide şöyle bir kodum var.
Kod:
every ticks:
    loop all sheeps:
        loop-entity's name is "TNT"
        set {_tnt} to random integer between 0 and 8
        if {_tnt} is 0:
            set the colour of loop-entity to red
        if {_tnt} is 1:
            set the colour of loop-entity to blue
        if {_tnt} is 2:
            set the colour of loop-entity to yellow
        if {_tnt} is 3:
            set the colour of loop-entity to green
        if {_tnt} is 4:
            set the colour of loop-entity to purple
        if {_tnt} is 5:
            set the colour of loop-entity to orange
        if {_tnt} is 6:
            set the colour of loop-entity to magenta
        if {_tnt} is 7:
            set the colour of loop-entity to cyan
        if {_tnt} is 8:
            set the colour of loop-entity to pink
on place of a tnt:
    cancel event
    remove 1 tnt from player's inventory
    spawn a sheep at player's target block
    set last spawned entity's name to "TNT"
    create an explosion of force 5 at last spawned entity
    kill the sheep
on death of a sheep:
    sheep's display name is "TNT"
    clear drops
TNT koyunca koyun doğuyor eğer o koyun patlamadan başka tnt koyulursa o patlıyor bu patlamıyor. Sebebi ise last spawned entity yazmama fakat sheep yazınca hata da vermiyor patlamıyor da.
PHP:
on right click with a bedrock:
 cancel event
 spawn a sheep at player
 set name of the last spawned entity to "&cbahattin abi"
 set colour of the last spawned entity to white
 wait 6 ticks
 set colour of the last spawned entity to red
 wait 6 ticks
 set colour of the last spawned entity to white
 wait 6 ticks
 set colour of the last spawned entity to red
 wait 6 ticks
 set colour of the last spawned entity to white
 wait 6 ticks
 set colour of the last spawned entity to red
 wait 6 ticks
 set colour of the last spawned entity to white
 wait 3 ticks
 set colour of the last spawned entity to red
 wait 3 ticks
 set colour of the last spawned entity to white
 wait 3 ticks
 set colour of the last spawned entity to red
 wait 3 ticks
 set colour of the last spawned entity to white
 wait 3 ticks
 set colour of the last spawned entity to red
 wait 2 ticks
 set colour of the last spawned entity to white
 wait 2 ticks
 set colour of the last spawned entity to red
 wait 2 ticks
 set colour of the last spawned entity to white
 wait 2 ticks
 set colour of the last spawned entity to red
 wait 2 ticks
 set colour of the last spawned entity to white
 create an explosion of force 2 at last spawned sheep
 
on damage:
 victim's name contains "&cbahattin abi"
 attacker is a player
 attacker doesn't have a bedrock in his inventory
 cancel event
ben boyle yapmistim
 

ComodoGaming

Kömür Madencisi
En iyi cevaplar
0
enderman öldürünce %10 şans ile ender kral çıksın içinden ve ender kralın yaklaşık 500 canı olsun ve bir endermanın 3 katı gücü olsun bu ender kralı öldürünce içinden karışık olarak Koruma 4 ayakkabı çıksın birdahaki öldürüşünde 10 elmas çıksın böyle bir skript yazabilirmisin ?[DOUBLEPOST=1435525913,1435525789][/DOUBLEPOST]bide eşya kutusu skripti lazım envanterimizde bir sandık olacak bu sandığı elimize alıp sağ tıklayınca içinden deri set çıkacak ve sandık yok olacak bide kurucular bu eşya kutularını ayarlayabilmeli
 

Liberator

Ağaç Yumruklayıcı
En iyi cevaplar
0
enderman öldürünce %10 şans ile ender kral çıksın içinden ve ender kralın yaklaşık 500 canı olsun ve bir endermanın 3 katı gücü olsun bu ender kralı öldürünce içinden karışık olarak Koruma 4 ayakkabı çıksın birdahaki öldürüşünde 10 elmas çıksın böyle bir skript yazabilirmisin ?[DOUBLEPOST=1435525913,1435525789][/DOUBLEPOST]bide eşya kutusu skripti lazım envanterimizde bir sandık olacak bu sandığı elimize alıp sağ tıklayınca içinden deri set çıkacak ve sandık yok olacak bide kurucular bu eşya kutularını ayarlayabilmeli

PHP:
on death of enderman:
    if event-entity's name is set:
        set {num.%attacker%} to a random integer between 0 and 6
        if {num.%attacker%} is equal to 1:
            drop a leather boots of protection 4 at event-location
        else:
            if {num.%attacker%} is equal to 2:
                drop a diamond boots of protection 4 at event-location
            else:
                if {num.%attacker%} is equal to 3:
                    drop an iron boots of protection 4 at event-location
                else:
                    if {num.%attacker%} is equal to 4:
                        drop a gold boots of protection 4 at event-location
    else:
        chance of 10%:
            spawn an enderman at event-location
            set last spawned enderman's max health to 500
            set last spawned enderman's name to "&9&lEnder kral"

on damage:
    attacker is an enderman:
        attacker's name is "&9&lEnder kral":
            chance of 40:
                set damage to 12
                push the victim upwards at speed 1
            else:
                set damage to 6
1.si bu
 

bakkalmarket7

Demir Madencisi
En iyi cevaplar
0
sil yazınca bütün ismi deneme olan köylülerin silinmesini istiyorum . yapamadım .şimdiden yapana teşekkürler
 
Üst