Bulundu /madenisat Skript isteği

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

OgzhnTntms

Koydum Çalışma Masasını
Katılım
20 Aralık 2017
Mesajlar
59
Elmaslar
19
Puan
13.520
Konum
İstanbul
Minecraft
OgzhnTntms

Discord:

Oğuzhan#0088

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.
 
Arkadaşlar ben de istiyorum bakarmısınız lütfen
 
Herkes yatacak. Bilgisayarda olan kişi sayısı azdır. Yarın destek alabilirsiniz.​
 
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.
 
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;
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
ü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:
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.
 
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:
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.
 
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 :)
 
çok teşekkür edeirm
 
@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.

 
skyquery menüsü kullanma menüdeki itemler alınıyor o zaman
 
hangi menüyü kullanayım
 
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