Sol Reklam
Sağ Reklam

/madenisat Skript isteği

Durum
Mesaj gönderimine kapalı.

OgzhnTntms

Koydum Çalışma Masasını

Discord:

Oğuzhan#0088

Katılım
20 Aralık 2017
Mesajlar
59
Elmaslar
19
Puanlar
9.020
Yer
İstanbul
Minecraft
OgzhnTntms
3 maden kömür lapis elmas olarak /madenisat dediğin zaman belirlediğimiz fiyattan madeni satacak ve oyuncuya para ekleyip sohbette şu kadar madeni şu paraya sattın diyecek bunu yapabilirmisiniz.
 

memol1s2

Birisi mi Spawnlandı?
Katılım
1 Nisan 2020
Mesajlar
4
Elmaslar
1
Puanlar
0
Yaş
25
Arkadaşlar ben de istiyorum bakarmısınız lütfen
 

Garoz

Simplicitas tollit virtutem.
Emekli

Discord:

MonBoyhiner#2885

Katılım
16 Aralık 2017
Mesajlar
953
Elmaslar
469
Puanlar
16.160
Yer
Türkiye
Minecraft
GarozLite
Herkes yatacak. Bilgisayarda olan kişi sayısı azdır. Yarın destek alabilirsiniz.​
 

cemil37

Altın Benim Yeni Sevgilim

Discord:

Ceko37#9713

Katılım
15 Temmuz 2017
Mesajlar
466
Elmaslar
111
Puanlar
13.850
Minecraft
Ceko37
Kod:
options:
    kömürfiyat: 10
    elmasfiyat: 20
    lapisfiyat: 30
   
command /madenisat:
    trigger:
        if player has 1 lapis lazuli:
            while player has 0 lapis lazuli:
                remove 1 lapis lazuli from player's inventory
                add 1 to {_toplamlapis}
            set {_toplamsatisfiyatı} to {@lapisfiyat} * {_toplamlapis}
            send "&e%player% &aAdlı Oyuncu &e%{_toplamlapis}% &Aadet &BLapisi &e%{_toplamsatisfiyatı}% &Afiyata sattı"
            add {_toplamsatisfiyatı} to player's balance
        if player has 1 coal:
            while player has 0 coal:
                remove 1 coal from player's inventory
                add 1 to {_toplamlapis}
            set {_toplamsatisfiyatı} to {@lapisfiyat} * {_toplamlapis}
            send "&e%player% &aAdlı Oyuncu &e%{_toplamlapis}% &Aadet &0Kömürü &e%{_toplamsatisfiyatı}% &Afiyata sattı"
            add {_toplamsatisfiyatı} to player's balance
        if player has 1 diamond:
            while player has 0 diamond:
                remove 1 diamond from player's inventory
                add 1 to {_toplamlapis}
            set {_toplamsatisfiyatı} to {@lapisfiyat} * {_toplamlapis}
            send "&e%player% &aAdlı Oyuncu &e%{_toplamlapis}% &Aadet &2Elması &e%{_toplamsatisfiyatı}% &Afiyata sattı"
            add {_toplamsatisfiyatı} to player's balance

Yettim gari.
Bu skripti dener misiniz? skripti yazdıktan sonra denemedim ama büyük ihtimalle çalışacaktır.
 

memol1s2

Birisi mi Spawnlandı?
Katılım
1 Nisan 2020
Mesajlar
4
Elmaslar
1
Puanlar
0
Yaş
25
Kod:
options:
    kömürfiyat: 10
    elmasfiyat: 20
    lapisfiyat: 30
  
command /madenisat:
    trigger:
        if player has 1 lapis lazuli:
            while player has 0 lapis lazuli:
                remove 1 lapis lazuli from player's inventory
                add 1 to {_toplamlapis}
            set {_toplamsatisfiyatı} to {@lapisfiyat} * {_toplamlapis}
            send "&e%player% &aAdlı Oyuncu &e%{_toplamlapis}% &Aadet &BLapisi &e%{_toplamsatisfiyatı}% &Afiyata sattı"
            add {_toplamsatisfiyatı} to player's balance
        if player has 1 coal:
            while player has 0 coal:
                remove 1 coal from player's inventory
                add 1 to {_toplamlapis}
            set {_toplamsatisfiyatı} to {@lapisfiyat} * {_toplamlapis}
            send "&e%player% &aAdlı Oyuncu &e%{_toplamlapis}% &Aadet &0Kömürü &e%{_toplamsatisfiyatı}% &Afiyata sattı"
            add {_toplamsatisfiyatı} to player's balance
        if player has 1 diamond:
            while player has 0 diamond:
                remove 1 diamond from player's inventory
                add 1 to {_toplamlapis}
            set {_toplamsatisfiyatı} to {@lapisfiyat} * {_toplamlapis}
            send "&e%player% &aAdlı Oyuncu &e%{_toplamlapis}% &Aadet &2Elması &e%{_toplamsatisfiyatı}% &Afiyata sattı"
            add {_toplamsatisfiyatı} to player's balance

Yettim gari.
Bu skripti dener misiniz? skripti yazdıktan sonra denemedim ama büyük ihtimalle çalışacaktır.
Skript çok harika çalışıyor lakin şöyle olmasını istiyoruz bir demo atayım;
https://prnt.sc/rx131y üst kısımda satılan eşyanın miktarı alt kısımda verdiği para gerçekten yaparsanız çok seviniriz <3 sizleri çok seviyoruz değerli skriptirler
Gönderi otomatik olarak birleştirildi:

Kod:
options:
    kömürfiyat: 10
    elmasfiyat: 20
    lapisfiyat: 30
  
command /madenisat:
    trigger:
        if player has 1 lapis lazuli:
            while player has 0 lapis lazuli:
                remove 1 lapis lazuli from player's inventory
                add 1 to {_toplamlapis}
            set {_toplamsatisfiyatı} to {@lapisfiyat} * {_toplamlapis}
            send "&e%player% &aAdlı Oyuncu &e%{_toplamlapis}% &Aadet &BLapisi &e%{_toplamsatisfiyatı}% &Afiyata sattı"
            add {_toplamsatisfiyatı} to player's balance
        if player has 1 coal:
            while player has 0 coal:
                remove 1 coal from player's inventory
                add 1 to {_toplamlapis}
            set {_toplamsatisfiyatı} to {@lapisfiyat} * {_toplamlapis}
            send "&e%player% &aAdlı Oyuncu &e%{_toplamlapis}% &Aadet &0Kömürü &e%{_toplamsatisfiyatı}% &Afiyata sattı"
            add {_toplamsatisfiyatı} to player's balance
        if player has 1 diamond:
            while player has 0 diamond:
                remove 1 diamond from player's inventory
                add 1 to {_toplamlapis}
            set {_toplamsatisfiyatı} to {@lapisfiyat} * {_toplamlapis}
            send "&e%player% &aAdlı Oyuncu &e%{_toplamlapis}% &Aadet &2Elması &e%{_toplamsatisfiyatı}% &Afiyata sattı"
            add {_toplamsatisfiyatı} to player's balance

Yettim gari.
Bu skripti dener misiniz? skripti yazdıktan sonra denemedim ama büyük ihtimalle çalışacaktır.
Yetiş Ya Skripterrr Ordunun Sana İhtiyacı var!
 
Son düzenleme:

cemil37

Altın Benim Yeni Sevgilim

Discord:

Ceko37#9713

Katılım
15 Temmuz 2017
Mesajlar
466
Elmaslar
111
Puanlar
13.850
Minecraft
Ceko37
Kod:
options:
    kömürfiyat: 10
    elmasfiyat: 20
    lapisfiyat: 30
  
command /madenisat:
    trigger:
        if player has lapis lazuli or diamond or coal:
            if player has lapis lazuli:
                if player  has diamond:
                    if player has coal:
                        while player has 0 lapis lazuli:
                            remove 1 lapis lazuli from player's inventory
                            add 1 to {_lapissatis::%player%}
                        while player has 0 diamond:
                            remove 1 diamond from player's inventory
                            add 1 to {_elmassatis::%player%}
                        while player has 0 coal:
                            remove 1 coal from player'S inventory
                            add 1 to {_kömürsatis::%player%}
                        set {_lapistoplamfiyat} to {@lapisfiyat} * {_lapissatis::%player%}
                        set {_elmastoplamfiyat} to {@elmasfiyat} * {_elmassatis::%player%}
                        set {_kömürtoplamfiyat} to {@kömürfiyat} * {_kömürsatis::%player%}
                        set {_toplamfiyat::%player%} to {_lapistoplamfiyat} + {_elmastoplamfiyat}
                        set {_toplamfiyat::%player%} to {_kömürtoplamfiyat} + {_toplamfiyat::%player%}
                        add  {_toplamfiyat::%player%} to player's balance
                        send "" to player
                        send "&a&lBaşarıyla satıldı:" to player
                        send "" to player
                        send "  &7&l%{_lapissatis::%player%}%x Lapis" to player
                        send "  &7&l%{_elmassatis::%player%}%x Elmas" to player
                        send "  &7&l%{_kömürsatis::%player%}%x Kömür" to player
                        send "" to player
                        send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player
                    else:
                        while player has 0 lapis lazuli:
                            remove 1 lapis lazuli from player's inventory
                            add 1 to {_lapissatis::%player%}
                        while player has 0 diamond:
                            remove 1 diamond from player's inventory
                            add 1 to {_elmassatis::%player%}
                        set {_lapistoplamfiyat} to {@lapisfiyat} * {_lapissatis::%player%}
                        set {_elmastoplamfiyat} to {@elmasfiyat} * {_elmassatis::%player%}
                        set {_toplamfiyat::%player%} to {_lapistoplamfiyat} + {_elmastoplamfiyat}
                        add  {_toplamfiyat::%player%} to player's balance
                        send "" to player
                        send "&a&lBaşarıyla satıldı:" to player
                        send "" to player
                        send "  &7&l%{_lapissatis::%player%}%x Lapis" to player
                        send "  &7&l%{_elmassatis::%player%}%x Elmas" to player
                        send "" to player
                        send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player
                else:
                    if player has coal:
                        while player has 0 lapis lazuli:
                            remove 1 lapis lazuli from player's inventory
                            add 1 to {_lapissatis::%player%}
                        while player has 0 coal:
                            remove 1 coal from player's inventory
                            add 1 to {_kömürsatis::%player%}
                        set {_lapistoplamfiyat} to {@lapisfiyat} * {_lapissatis::%player%}
                        set {_kömürtoplamfiyat} to {@kömürfiyat} * {_kömürsatis::%player%}
                        set {_toplamfiyat::%player%} to {_lapistoplamfiyat} + {_kömürtoplamfiyat}
                        add  {_toplamfiyat::%player%} to player's balance
                        send "&a&lBaşarıyla satıldı:" to player
                        send "" to player
                        send "  &7&l%{_lapissatis::%player%}%x Lapis" to player
                        send "  &7&l%{_kömürsatis::%player%}%x Kömür" to player
                        send "" to player
                        send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player
            else:
                player has diamond
                player  has coal
                while player has 0 diamond:
                    remove 1 diamond from player's inventory
                    add 1 to {_elmassatis::%player%}
                while player has 0 coal:
                    remove 1 coal from player'S inventory
                    add 1 to {_kömürsatis::%player%}
                set {_elmastoplamfiyat} to {@elmasfiyat} * {_elmassatis::%player%}
                set {_kömürtoplamfiyat} to {@kömürfiyat} * {_kömürsatis::%player%}
                set {_toplamfiyat::%player%} to {_kömürtoplamfiyat} + {_elmastoplamfiyat}
                add  {_toplamfiyat::%player%} to player's balance
                send "&a&lBaşarıyla satıldı:" to player
                send "" to player
                send "  &7&l%{_elmassatis::%player%}%x Elmas" to player
                send "  &7&l%{_kömürsatis::%player%}%x Kömür" to player
                send "" to player
                send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player
            if player has lapis lazuli:
                while player has 0 lapis lazuli:
                    remove 1 lapis lazuli from player's inventory
                    add 1 to {_lapissatis::%player%}
                set {_lapistoplamfiyat} to {@lapisfiyat} * {_lapissatis::%player%}
                set {_toplamfiyat::%player%} to {_lapistoplamfiyat}
                add  {_toplamfiyat::%player%} to player's balance
                send "&a&lBaşarıyla satıldı:" to player
                send "" to player
                send "  &7&l%{_lapissatis::%player%}%x Lapis" to player
                send "" to player
                send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player
            if player has diamond:
                while player has 0 diamond:
                    remove 1 diamond from player's inventory
                    add 1 to {_elmassatis::%player%}
                set {_elmastoplamfiyat} to {@elmasfiyat} * {_elmassatis::%player%}
                set {_toplamfiyat::%player%} to {_elmastoplamfiyat}
                add  {_toplamfiyat::%player%} to player's balance
                send "&a&lBaşarıyla satıldı:" to player
                send "" to player
                send "  &7&l%{_elmassatis::%player%}%x Elmas" to player
                send "" to player
                send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player
            if player has Coal:
                while player has 0 coal:
                    remove 1 coal from player's inventory
                    add 1 to {_kömürsatis::%player%}
                set {_kömürtoplamfiyat} to {@kömürfiyat} * {_kömürsatis::%player%}
                set {_toplamfiyat::%player%} to {_kömürtoplamfiyat}
                add  {_toplamfiyat::%player%} to player's balance
                send "&a&lBaşarıyla satıldı:" to player
                send "" to player
                send "  &7&l%{_kömürsatis::%player%}%x Kömür" to player
                send "" to player
                send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player

Bu skripti dener misiniz biraz uzattım ama iş görecektir :D
ve
yukarıdaki skript yerine bu skripti kullanmanızı öneririm.
 

memol1s2

Birisi mi Spawnlandı?
Katılım
1 Nisan 2020
Mesajlar
4
Elmaslar
1
Puanlar
0
Yaş
25
Kod:
options:
    kömürfiyat: 10
    elmasfiyat: 20
    lapisfiyat: 30

command /madenisat:
    trigger:
        if player has lapis lazuli or diamond or coal:
            if player has lapis lazuli:
                if player  has diamond:
                    if player has coal:
                        while player has 0 lapis lazuli:
                            remove 1 lapis lazuli from player's inventory
                            add 1 to {_lapissatis::%player%}
                        while player has 0 diamond:
                            remove 1 diamond from player's inventory
                            add 1 to {_elmassatis::%player%}
                        while player has 0 coal:
                            remove 1 coal from player'S inventory
                            add 1 to {_kömürsatis::%player%}
                        set {_lapistoplamfiyat} to {@lapisfiyat} * {_lapissatis::%player%}
                        set {_elmastoplamfiyat} to {@elmasfiyat} * {_elmassatis::%player%}
                        set {_kömürtoplamfiyat} to {@kömürfiyat} * {_kömürsatis::%player%}
                        set {_toplamfiyat::%player%} to {_lapistoplamfiyat} + {_elmastoplamfiyat}
                        set {_toplamfiyat::%player%} to {_kömürtoplamfiyat} + {_toplamfiyat::%player%}
                        add  {_toplamfiyat::%player%} to player's balance
                        send "" to player
                        send "&a&lBaşarıyla satıldı:" to player
                        send "" to player
                        send "  &7&l%{_lapissatis::%player%}%x Lapis" to player
                        send "  &7&l%{_elmassatis::%player%}%x Elmas" to player
                        send "  &7&l%{_kömürsatis::%player%}%x Kömür" to player
                        send "" to player
                        send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player
                    else:
                        while player has 0 lapis lazuli:
                            remove 1 lapis lazuli from player's inventory
                            add 1 to {_lapissatis::%player%}
                        while player has 0 diamond:
                            remove 1 diamond from player's inventory
                            add 1 to {_elmassatis::%player%}
                        set {_lapistoplamfiyat} to {@lapisfiyat} * {_lapissatis::%player%}
                        set {_elmastoplamfiyat} to {@elmasfiyat} * {_elmassatis::%player%}
                        set {_toplamfiyat::%player%} to {_lapistoplamfiyat} + {_elmastoplamfiyat}
                        add  {_toplamfiyat::%player%} to player's balance
                        send "" to player
                        send "&a&lBaşarıyla satıldı:" to player
                        send "" to player
                        send "  &7&l%{_lapissatis::%player%}%x Lapis" to player
                        send "  &7&l%{_elmassatis::%player%}%x Elmas" to player
                        send "" to player
                        send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player
                else:
                    if player has coal:
                        while player has 0 lapis lazuli:
                            remove 1 lapis lazuli from player's inventory
                            add 1 to {_lapissatis::%player%}
                        while player has 0 coal:
                            remove 1 coal from player's inventory
                            add 1 to {_kömürsatis::%player%}
                        set {_lapistoplamfiyat} to {@lapisfiyat} * {_lapissatis::%player%}
                        set {_kömürtoplamfiyat} to {@kömürfiyat} * {_kömürsatis::%player%}
                        set {_toplamfiyat::%player%} to {_lapistoplamfiyat} + {_kömürtoplamfiyat}
                        add  {_toplamfiyat::%player%} to player's balance
                        send "&a&lBaşarıyla satıldı:" to player
                        send "" to player
                        send "  &7&l%{_lapissatis::%player%}%x Lapis" to player
                        send "  &7&l%{_kömürsatis::%player%}%x Kömür" to player
                        send "" to player
                        send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player
            else:
                player has diamond
                player  has coal
                while player has 0 diamond:
                    remove 1 diamond from player's inventory
                    add 1 to {_elmassatis::%player%}
                while player has 0 coal:
                    remove 1 coal from player'S inventory
                    add 1 to {_kömürsatis::%player%}
                set {_elmastoplamfiyat} to {@elmasfiyat} * {_elmassatis::%player%}
                set {_kömürtoplamfiyat} to {@kömürfiyat} * {_kömürsatis::%player%}
                set {_toplamfiyat::%player%} to {_kömürtoplamfiyat} + {_elmastoplamfiyat}
                add  {_toplamfiyat::%player%} to player's balance
                send "&a&lBaşarıyla satıldı:" to player
                send "" to player
                send "  &7&l%{_elmassatis::%player%}%x Elmas" to player
                send "  &7&l%{_kömürsatis::%player%}%x Kömür" to player
                send "" to player
                send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player
            if player has lapis lazuli:
                while player has 0 lapis lazuli:
                    remove 1 lapis lazuli from player's inventory
                    add 1 to {_lapissatis::%player%}
                set {_lapistoplamfiyat} to {@lapisfiyat} * {_lapissatis::%player%}
                set {_toplamfiyat::%player%} to {_lapistoplamfiyat}
                add  {_toplamfiyat::%player%} to player's balance
                send "&a&lBaşarıyla satıldı:" to player
                send "" to player
                send "  &7&l%{_lapissatis::%player%}%x Lapis" to player
                send "" to player
                send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player
            if player has diamond:
                while player has 0 diamond:
                    remove 1 diamond from player's inventory
                    add 1 to {_elmassatis::%player%}
                set {_elmastoplamfiyat} to {@elmasfiyat} * {_elmassatis::%player%}
                set {_toplamfiyat::%player%} to {_elmastoplamfiyat}
                add  {_toplamfiyat::%player%} to player's balance
                send "&a&lBaşarıyla satıldı:" to player
                send "" to player
                send "  &7&l%{_elmassatis::%player%}%x Elmas" to player
                send "" to player
                send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player
            if player has Coal:
                while player has 0 coal:
                    remove 1 coal from player's inventory
                    add 1 to {_kömürsatis::%player%}
                set {_kömürtoplamfiyat} to {@kömürfiyat} * {_kömürsatis::%player%}
                set {_toplamfiyat::%player%} to {_kömürtoplamfiyat}
                add  {_toplamfiyat::%player%} to player's balance
                send "&a&lBaşarıyla satıldı:" to player
                send "" to player
                send "  &7&l%{_kömürsatis::%player%}%x Kömür" to player
                send "" to player
                send "&a&lToplam &e%{_toplamfiyat::%player%}% &aFiyata satıldı!" to player

Bu skripti dener misiniz biraz uzattım ama iş görecektir :D
ve
yukarıdaki skript yerine bu skripti kullanmanızı öneririm.
Abi sktipr harika çalışıyor da buna demir ve altını da eklersen sana dua ederim <3 lütfen
 
Son düzenleme:

cemil37

Altın Benim Yeni Sevgilim

Discord:

Ceko37#9713

Katılım
15 Temmuz 2017
Mesajlar
466
Elmaslar
111
Puanlar
13.850
Minecraft
Ceko37
Kod:
options:
    kömürfiyat: 10
    elmasfiyat: 20
    lapisfiyat: 30
    demirfiyat: 40
    altinfiyat: 50

command /madenisat:
    trigger:
        if player has gold ingot or lapis lazuli or diamond or coal or iron ingot:
            while player has 0 gold ingot:
                remove 1 gold ingot from player's inventory
                add 1 to {_toplamaltın::%player%}
            while player has 0 lapis lazuli:
                remove 1 lapis lazuli from player's inventory
                add 1 to {_toplamlapis::%player%}
            while player has 0 diamond:
                remove 1 diamond from player's inventory
                add 1 to {_toplamelmas::%player%}
            while player has 0 coal:
                remove 1 coal from player's inventory
                add 1 to {_toplamkömür::%player%}
            while player has 0 iron ingot:
                remove 1 iron ingot from player's inventory
                add 1 to {_toplamdemir::%player%}
            set {_toplamaltınfiyat::%player%} to {_toplamaltın::%player%} * {@altinfiyat}
            set {_toplamlapisfiyat::%player%} to {_toplamlapis::%player%} * {@lapisfiyat}
            set {_toplamelmasfiyat::%player%} to {_toplamelmas::%player%} * {@elmasfiyat}
            set {_toplamkömürfiyat::%player%} to {_toplamkömür::%player%} * {@kömürfiyat}
            set {_toplamdemirfiyat::%player%} to {_toplamdemir::%player%} * {@demirfiyat}
            set {_toplamfiyat::%player%} to {_toplamaltınfiyat::%player%} + {_toplamlapisfiyat::%player%} + {_toplamelmasfiyat::%player%} + {_toplamkömürfiyat::%player%} + {_toplamdemirfiyat::%player%}
            send "&aBaşarıyla Satıldı:"
            send ""
            if {_toplamaltın::%player%} is set:
                send "&7%{_toplamaltın::%player%}%x Altın"
            if {_toplamlapis::%player%} is set:
                send "&7%{_toplamlapis::%player%}%x Lapis"
            if {_toplamelmas::%player%} is set:
                send "&7%{_toplamelmas::%player%}%x Elmas"
            if {_toplamkömür::%player%} is set:
                send "&7%{_toplamkömür::%player%}%x Kömür"
            if {_toplamdemir::%player%} is set:
                send "&7%{_toplamdemir::%player%}%x Demir"
            send "" to player
            send "&a&lToplam &e%{_toplamfiyat::%player%}% &afiyata satıldı!" to player

Buyrun bu sefer skript kısa oldu :D ama sanırım isteğinizi karşılar.
 

lookitsbare

Birisi mi Spawnlandı?
Katılım
20 Mart 2020
Mesajlar
7
Elmaslar
6
Puanlar
0
Minecraft
lookitsbare
Kod:
options:
    kömürfiyat: 10
    elmasfiyat: 20
    lapisfiyat: 30
    demirfiyat: 40
    altinfiyat: 50

command /madenisat:
    trigger:
        if player has gold ingot or lapis lazuli or diamond or coal or iron ingot:
            while player has 0 gold ingot:
                remove 1 gold ingot from player's inventory
                add 1 to {_toplamaltın::%player%}
            while player has 0 lapis lazuli:
                remove 1 lapis lazuli from player's inventory
                add 1 to {_toplamlapis::%player%}
            while player has 0 diamond:
                remove 1 diamond from player's inventory
                add 1 to {_toplamelmas::%player%}
            while player has 0 coal:
                remove 1 coal from player's inventory
                add 1 to {_toplamkömür::%player%}
            while player has 0 iron ingot:
                remove 1 iron ingot from player's inventory
                add 1 to {_toplamdemir::%player%}
            set {_toplamaltınfiyat::%player%} to {_toplamaltın::%player%} * {@altinfiyat}
            set {_toplamlapisfiyat::%player%} to {_toplamlapis::%player%} * {@lapisfiyat}
            set {_toplamelmasfiyat::%player%} to {_toplamelmas::%player%} * {@elmasfiyat}
            set {_toplamkömürfiyat::%player%} to {_toplamkömür::%player%} * {@kömürfiyat}
            set {_toplamdemirfiyat::%player%} to {_toplamdemir::%player%} * {@demirfiyat}
            set {_toplamfiyat::%player%} to {_toplamaltınfiyat::%player%} + {_toplamlapisfiyat::%player%} + {_toplamelmasfiyat::%player%} + {_toplamkömürfiyat::%player%} + {_toplamdemirfiyat::%player%}
            send "&aBaşarıyla Satıldı:"
            send ""
            if {_toplamaltın::%player%} is set:
                send "&7%{_toplamaltın::%player%}%x Altın"
            if {_toplamlapis::%player%} is set:
                send "&7%{_toplamlapis::%player%}%x Lapis"
            if {_toplamelmas::%player%} is set:
                send "&7%{_toplamelmas::%player%}%x Elmas"
            if {_toplamkömür::%player%} is set:
                send "&7%{_toplamkömür::%player%}%x Kömür"
            if {_toplamdemir::%player%} is set:
                send "&7%{_toplamdemir::%player%}%x Demir"
            send "" to player
            send "&a&lToplam &e%{_toplamfiyat::%player%}% &afiyata satıldı!" to player

Buyrun bu sefer skript kısa oldu :D ama sanırım isteğinizi karşılar.
üsttekini görüp bu gereksiz uzun diyecektim kıda hali çok daha iyi :)
 

OgzhnTntms

Koydum Çalışma Masasını

Discord:

Oğuzhan#0088

Katılım
20 Aralık 2017
Mesajlar
59
Elmaslar
19
Puanlar
9.020
Yer
İstanbul
Minecraft
OgzhnTntms
çok teşekkür edeirm
 

DoomRise

Yay Yok, İskelet Yok
Katılım
4 Eylül 2019
Mesajlar
292
Elmaslar
55
Puanlar
6.745
Minecraft
1Ripeness
@OgzhnTntms
veya şöyle birşey yapabilirsin;

Kod:
on first join:
    set {coin::%player%} to 0
    
command coinver <offlineplayer> <number>:
    permission: coin.admin, coin.add
    permission message: &c&lHeey Dostum, Yetkin Yok!
    trigger:
        add arg 2 to {coin::%arg 1%}
        send "&b&l%arg 1% Adlı Kişiye %arg 2% Coin Gönderildi!" to players

command /coin <offlineplayer>:
    usage: &e/coin %player%
    description: Coinlerle Bir Çok Şey Yapabilirsiniz! /coin %player%
    trigger:
        send "&c&lDOOMRise &8» &bOyuncunun Coini: &6&l%{coin::%arg 1%}%

command /coinsil <offlineplayer> <number>:
    permission: coin.admin, coin.reset, coin.remove
    permission message: &c&lHeey Dostum, Maalesef Buna Yetkin Yok!
    trigger:
        send " &l&cDOOMRise &8» &6&lYetkililer &e&l%player% Adlı Kişiden %arg 2% Coin Sildi!" to players
        remove arg 2 from {coin::%arg 1%}


Kod:
command /maden:
    trigger:
        open chest with 1 row named "&l&6Maden Menü" to player
        format slot 0 of player with iron ingot named "1 tane demir sat" to close then run [execute player command "demir1sat"]

command demir1sat:
    trigger:
        if player has 1 iron ingot:
            remove 1 iron ingot from player
            send "&e&l1 Tane Demir Sattın!" to player
            send "&e&l50 Coin Kazandın!" to player
            execute console command "coinver %player% 50"
        else:
            send "&a&lHeey Dostum, Yeterli Demirin Yok!" to player

devamını getirirsin diye düşünüyorum.

 

_OnePage_

Işık + Taş = Işıktaşı

Discord:

OnePage#1881

Katılım
16 Ocak 2020
Mesajlar
1.228
Elmaslar
838
Puanlar
8.575
Minecraft
_OnePage_
skyquery menüsü kullanma menüdeki itemler alınıyor o zaman
 

DoomRise

Yay Yok, İskelet Yok
Katılım
4 Eylül 2019
Mesajlar
292
Elmaslar
55
Puanlar
6.745
Minecraft
1Ripeness
hangi menüyü kullanayım
 

_OnePage_

Işık + Taş = Işıktaşı

Discord:

OnePage#1881

Katılım
16 Ocak 2020
Mesajlar
1.228
Elmaslar
838
Puanlar
8.575
Minecraft
_OnePage_
Durum
Mesaj gönderimine kapalı.
Neden altınlarını Discord sunucumuzda kazmıyorsun? TIKLA VE KATIL!
Yukarı