Bulundu Banka skripti

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

JuneX

Nerelerdesin Be Zümrüt?
Katılım
12 Ekim 2019
Mesajlar
529
Elmaslar
126
Puan
4.775
Minecraft
JuneZX
Merhaba bana banka skripti lazım ama başka skript değil ve tam istediğim olabilirse sevnrm yapamıcaksanız hiç yorum atmayın
aslında gui olcak ama lag falan olur ben chestcommands ile ayarlarım
1-Banka kullanmak için bankaya kayıt olmaları gerekicek /banka kayıt şifre
3-Bankaya sadece para yatırıp çekebilecekler /banka parayatır şifre /bankaşparaçek şifre yazınca sohbete çekmek veya yatırmak istedikleri fiyatı gircekler
4-Ve bankaya atılan para hergün %0.2 faizlencek
BELKI BÜYÜK BİR İSTEK OLABİLİR AMA YAPAN KİŞİYE TEŞEKKÜRLER LAG YAPARMI SÖYLERSENİZ TŞK
 
Son düzenleme:
Kod:
options:
 
    p: &aBanka »
    hesapacmafiyati: 1000
    limitbaslangicfiyati: 5000
    asgariucret: 2020

function banka(p: player, sayfa: String):
    if {_sayfa} is "menu":
        play raw sound "note.pling" at {_p} with pitch 1 volume 10
        open virtual chest inventory with size 1 named "&eBanka / Menü" to {_p}
        make a gui slot 0 of {_p} with {_p}'s skull named "&a&lBilgilerin" with lore "||&7Bilgilerini görüntülemek için tıkla!" to run function banka({_p}, "bilgiler")
        make a gui slot 1 of {_p} with 175 named "&a&lBankacılar" with lore "||&7Bankacıları görüntülemek için tıkla!" to run function bankacilar({_p}, 1)
        make a gui slot 2 of {_p} with 160:11 named "&e" to nothing
        if {banka::kredicekmismi::%{_p}%} is false:
            make a gui slot 3 of {_p} with 388 named "&a&lİşlem Yap" with lore "||&7İşlem menüsünü görüntülemek||&7için tıkla!" to run function banka({_p}, "islemmenu")
        else if {banka::kredicekmismi::%{_p}%} is true:
            make a gui slot 3 of {_p} with 166 named "&c&l&mKILITLI!" with lore "||&7Kredi çekebilmek için||&7önce Kredi Borcunu öde!" to run function banka({_p}, "krediborcu")
    if {_sayfa} is "ac":
        set {_hesapacmafiyati} to "{@hesapacmafiyati}" parsed as integer
        play raw sound "note.pling" at {_p} with pitch 1 volume 10
        open virtual chest inventory with size 3 named "&eBanka / Hesap Aç" to {_p}
        make a gui slot 13 of {_p} with 381 named "&a&lHesap Aç" with lore "||&eBanka'ya hoşgeldin!||&eİşlem yapabilmek için lütfen||&ebir hesap aç!||||&c&lGerekli Şartlar||&c&l&m------------||&81. &7{@hesapacmafiyati} TL" to run using left:
            if balance of {_p} is bigger than or equal to {_hesapacmafiyati}:
                execute console command "eco take %{_p}% %{_hesapacmafiyati}%"
                add {_p} to {bankahesaplari::*}
                set {banka::hesapacmismi::%{_p}%} to true
                set {banka::tur::%{_p}%} to "Kişisel"
                set {banka::kayittarihi::%{_p}%} to "%now%"
                set {banka::goruntulenmesi::%{_p}%} to 0
                set {banka::para::%{_p}%} to 0
                set {banka::limit::%{_p}%} to {@limitbaslangicfiyati}
                set {banka::borc::%{_p}%} to 0
                set {banka::kredicekmismi::%{_p}%} to false
                set {banka::sifreolusturmusmu::%{_p}%} to false
                send "{@p} &b&lTebrikler, &ebir hesap açtın!" to {_p}
                broadcast "&9%{_p}%, &7adlı oyuncumuz banka hesabı açtı!"
                banka({_p}, "sifreolustur")
            else:
                send "{@p} &cYeterli paran yok!" to {_p}
        make a gui slot 18 of {_p} with 262 named "&c&lKapat" to run using left:
            close {_p}'s inventory
    if {_sayfa} is "bilgiler":
        play raw sound "note.pling" at {_p} with pitch 1 volume 10
        open virtual chest inventory with size 6 named "&eBanka / Bilgilerin" to {_p}
        make a gui slot 0 of {_p} with 160:14 named "&e" to nothing
        make a gui slot 1 of {_p} with 160:14 named "&e" to nothing
        make a gui slot 2 of {_p} with 160:14 named "&e" to nothing
        make a gui slot 3 of {_p} with 160:14 named "&e" to nothing
        make a gui slot 4 of {_p} with {_p}'s skull named "&a%{_p}%" with lore "&9&m------------------------||||&eBanka Türü||&e&m--------------||&7%{banka::tur::%{_p}%}%||||&eKayıt Tarihi: &7%{banka::kayittarihi::%{_p}%}%||&eBanka Görüntülenmesi: &7%{banka::goruntulenmesi::%{_p}%}%||||&ePara: &c&l%{banka::para::%{_p}%}%||&eLimit: &c&l%{banka::limit::%{_p}%}%" to nothing
        make a gui slot 5 of {_p} with 160:14 named "&e" to nothing
        make a gui slot 6 of {_p} with 160:14 named "&e" to nothing
        make a gui slot 7 of {_p} with 160:14 named "&e" to nothing
        make a gui slot 8 of {_p} with 160:14 named "&e" to nothing
        make a gui slot 9 of {_p} with 160:11 named "&e" to nothing
        make a gui slot 10 of {_p} with 160:11 named "&e" to nothing
        make a gui slot 11 of {_p} with 160:11 named "&e" to nothing
        make a gui slot 12 of {_p} with 160:11 named "&e" to nothing
        make a gui slot 13 of {_p} with 160:11 named "&e" to nothing
        make a gui slot 14 of {_p} with 160:11 named "&e" to nothing
        make a gui slot 15 of {_p} with 160:11 named "&e" to nothing
        make a gui slot 16 of {_p} with 160:11 named "&e" to nothing
        make a gui slot 17 of {_p} with 160:11 named "&e" to nothing
        make a gui slot 18 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 26 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 27 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 29 of {_p} with 160 named "&e" to nothing
        make a gui slot 31 of {_p} with 152 named "&eHesabı Kapat" with lore "||&7Hesabı kalıcı olarak kapatmak için tıkla!" to run using left:
            if {banka::kredicekmismi::%{_p}%} is false:
                open virtual chest inventory with size 1 named "&eBanka / Hesabı Sil" to {_p}
                make a gui slot 3 of {_p} with 159:11 named "&aONAYLA" with lore "||&eHesabındaki paran silinecek!" to run using left:
                    remove {_p} from {bankahesaplari::*}
                    delete {banka::hesapacmismi::%{_p}%}
                    close {_p}'s inventory
                    send "{@p} &aHesabını başarıyla sildin!" to {_p}
                make a gui slot 5 of {_p} with 159:14 named "&cVAZGEÇ" to run function banka({_p}, "menu")
            else:
                send "{@p} &cKredi Borcunu öde!" to {_p}
        make a gui slot 32 of {_p} with 160 named "&e" to nothing
        make a gui slot 33 of {_p} with 160 named "&e" to nothing
        make a gui slot 35 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 36 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 44 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 46 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 47 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 48 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 49 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 50 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 51 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 52 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 53 of {_p} with 160:5 named "&e" to nothing
        make a gui slot 30 of {_p} with 160 named "&e" to nothing
        make a gui slot 19 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 20 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 21 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 22 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 23 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 24 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 25 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 28 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 34 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 37 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 38 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 39 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 40 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 41 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 42 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 43 of {_p} with 160:4 named "&e" to nothing
        make a gui slot 45 of {_p} with 262 named "&c&l<- Önceki Sayfa" to run function banka({_p}, "menu")
    if {_sayfa} is "islemmenu":
        play raw sound "note.pling" at {_p} with pitch 1 volume 10
        open virtual chest inventory with size 1 named "&eBanka / İşlem Menüsü" to {_p}
        make a gui slot 0 of {_p} with 351:10 named "&aKredi Çek" with lore "||&7Borç Kredi çekmek||&7için tıkla!" to run function banka({_p}, "kredicek")
        make a gui slot 1 of {_p} with 351:9 named "&aPara Çek" with lore "||&7Hesabından para çekmek||&7için tıkla!" to run function banka({_p}, "paracek")
        make a gui slot 2 of {_p} with 351:8 named "&aPara Yatır" with lore "||&7Hesabına para yatırmak||&7için tıkla!" to run function banka({_p}, "parayatir")
        make a gui slot 4 of {_p} with 335 named "&aMaaş Al" with lore "||&7Maaşını almak||&7için tıkla!" to run function banka({_p}, "maasal")
        make a gui slot 8 of {_p} with 262 named "&c&l<- Önceki Sayfa" to run function banka({_p}, "menu")
    if {_sayfa} is "kredicek":
        play raw sound "note.pling" at {_p} with pitch 3 volume 10
        open virtual chest inventory with size 3 named "&eBanka / Kredi Çek" to {_p}
        make a gui slot 13 of {_p} with 421 named "&eKredi Çek" with lore "||&7Limit: &c%{banka::limit::%{_p}%}%||||&aKredi çekmek için tıkla!" to run using left:
            set {kredicekiyor::%{_p}%} to true
            delete {paracekiyor::%{_p}%}
            delete {parayatiriyor::%{_p}%}
            send "{@p} &cLimit: &a%{banka::limit::%{_p}%}%" to {_p}
            send "{@p} &eLütfen sohbete Kredi fiyatını yaz!" to {_p}
            close {_p}'s inventory
        make a gui slot 18 of {_p} with 262 named "&c&l<- Önceki Sayfa" to run function banka({_p}, "islemmenu")
    if {_sayfa} is "paracek":
        play raw sound "note.pling" at {_p} with pitch 1 volume 10
        open virtual chest inventory with size 3 named "&eBanka / Para Çek" to {_p}
        make a gui slot 13 of {_p} with 421 named "&ePara Çek" with lore "||&7Bakiye: &c%{banka::para::%{_p}%}%||||&aPara çekmek için tıkla!" to run using left:
            set {paracekiyor::%{_p}%} to true
            delete {kredicekiyor::%{_p}%}
            delete {parayatiriyor::%{_p}%}
            send "{@p} &cBakiye: &a%{banka::para::%{_p}%}%" to {_p}
            send "{@p} &eLütfen sohbete Para fiyatını yaz!" to {_p}
            close {_p}'s inventory
        make a gui slot 18 of {_p} with 262 named "&c&l<- Önceki Sayfa" to run function banka({_p}, "islemmenu")
    if {_sayfa} is "parayatir":
        play raw sound "note.pling" at {_p} with pitch 1 volume 10
        open virtual chest inventory with size 3 named "&eBanka / Para Yatır" to {_p}
        make a gui slot 13 of {_p} with 421 named "&ePara Yatır" with lore "||&7Bakiye: &c%{banka::para::%{_p}%}%||||&aPara yatırmak için tıkla!" to run using left:
            set {parayatiriyor::%{_p}%} to true
            delete {kredicekiyor::%{_p}%}
            delete {paracekiyor::%{_p}%}
            send "{@p} &cBakiye: &a%{banka::para::%{_p}%}%" to {_p}
            send "{@p} &eLütfen sohbete Para fiyatını yaz!" to {_p}
            close {_p}'s inventory
        make a gui slot 18 of {_p} with 262 named "&c&l<- Önceki Sayfa" to run function banka({_p}, "islemmenu")
    if {_sayfa} is "maasal":
        play raw sound "note.pling" at {_p} with pitch 1 volume 10
        open virtual chest inventory with size 3 named "&eBanka / Maaş Al" to {_p}
        make a gui slot 13 of {_p} with 69 named "&eMaaş Al" with lore "||&a&m------||||&8Asgari Ücret: &7{@asgariucret}||||&eMaaşını almak için tıkla!" to run using left:
            set {_zaman} to difference between {maas::beklemesuresi::%{_p}%} and now
            if {maas::beklemesuresi::%{_p}%} is not set:
                set {maas::beklemesuresi::%{_p}%} to now
                execute console command "eco give %{_p}% {@asgariucret}"
                send "{@p} &eMaaşını çektin!" to {_p}
                banka({_p}, "maasal")
            else:
                if {maas::beklemesuresi::%{_p}%} was less than 24 hours ago:
                    send "{@p} &cMaaşını 24 saatte bir alabilirsin!" to {_p}
                    send "{@p} &eKalan süre: &a%difference between {_zaman} and 24 hours%" to {_p}
                else:
                    set {maas::beklemesuresi::%{_p}%} to now
                    execute console command "eco give %{_p}% {@asgariucret}"
                    send "{@p} &eMaaşını çektin!" to {_p}
                    banka({_p}, "maasal")
        make a gui slot 18 of {_p} with 262 named "&c&l<- Önceki Sayfa" to run function banka({_p}, "islemmenu")
    if {_sayfa} is "krediborcu":
        play raw sound "note.pling" at {_p} with pitch 1 volume 10
        open virtual chest inventory with size 3 named "&eBanka / Kredi Borcu" to {_p}
        make a gui slot 13 of {_p} with 77 named "%{banka::borc::%{_p}%}%" with lore "||&eKredi Borcunu||&eödemek için tıkla!" to run using left:
            if balance of {_p} is bigger than or equal to {banka::borc::%{_p}%}:
                set {_yenilimitbelirle} to name of slot 13 of {_p}'s current inventory parsed as integer
                set {_yenilimit} to "%{_yenilimitbelirle} / 2%" parsed as integer
                execute console command "eco take %{_p}% %{banka::borc::%{_p}%}%"
                add {_yenilimit} to {banka::limit::%{_p}%}
                set {banka::borc::%{_p}%} to 0
                set {banka::kredicekmismi::%{_p}%} to false
                send "{@p} &eKredi Borcunu başarıyla ödedin!" to {_p}
                close {_p}'s inventory
            else:
                send "{@p} &cBorcu ödemek için yeterli paran yok!" to {_p}
        make a gui slot 18 of {_p} with 262 named "&c&l<- Önceki Sayfa" to run function banka({_p}, "menu")
    if {_sayfa} is "sifreolustur":
        play raw sound "note.pling" at {_p} with pitch 1 volume 10
        open virtual chest inventory with size 6 named "&eBanka / Şifre Oluştur" to {_p}
        format gui slot 11 of {_p} with 339 named "0" to run function sifreolustur({_p}, "sifrebirarttir") with "left" click
        format gui slot 11 of {_p} with 339 named "0" to run function sifreolustur({_p}, "sifrebirazalt") with "right" click
        format gui slot 12 of {_p} with 339 named "0" to run function sifreolustur({_p}, "sifreikiarttir") with "left" click
        format gui slot 12 of {_p} with 339 named "0" to run function sifreolustur({_p}, "sifreikiazalt") with "right" click
        format gui slot 13 of {_p} with 339 named "0" to run function sifreolustur({_p}, "sifreucarttir") with "left" click
        format gui slot 13 of {_p} with 339 named "0" to run function sifreolustur({_p}, "sifreucazalt") with "right" click
        format gui slot 14 of {_p} with 339 named "0" to run function sifreolustur({_p}, "sifredortarttir") with "left" click
        format gui slot 14 of {_p} with 339 named "0" to run function sifreolustur({_p}, "sifredortazalt") with "right" click
        format gui slot 31 of {_p} with 76 named "&aSıfırla" to run function sifreolustur({_p}, "sifresifirla") with "left" click
        make a gui slot 30 of {_p} with 145 named "&aŞifreyi Oluştur" with lore "||&eYeni Şifreni||&eonaylamak için tıkla!" to run using left:
            set {_sifre1} to name of slot 11 of {_p}'s current inventory parsed as integer
            set {_sifre2} to name of slot 12 of {_p}'s current inventory parsed as integer
            set {_sifre3} to name of slot 13 of {_p}'s current inventory parsed as integer
            set {_sifre4} to name of slot 14 of {_p}'s current inventory parsed as integer
            if {_sifre1} and {_sifre2} and {_sifre3} and {_sifre4} is bigger than 0:
                if {_sifre1} and {_sifre2} and {_sifre3} and {_sifre4} is smaller than 10:
                    set {banka::sifreolusturmusmu::%{_p}%} to true
                    set {banka::girisyapmismi::%{_p}%} to true
                    set {banka::sifre::%{_p}%} to "%{_sifre1}%%{_sifre2}%%{_sifre3}%%{_sifre4}%"
                    banka({_p}, "menu")
                    send "{@p} &eYeni Şifren oluşturuldu &a%{_sifre1}%%{_sifre2}%%{_sifre3}%%{_sifre4}%" to {_p}
                    wait 1 tick
                    add {para:%{_p}%} to {banka::para::%{_p}%}
                    set {para:%{_p}%} to 0
                else:
                    send "{@p} &cGirdiğin şifre 10'dan küçük olmalı!" to {_p}
            else:
                send "{@p} &cGirdiğin şifre 0'dan büyük olmalı!" to {_p}
    if {_sayfa} is "girisyap":
        play raw sound "note.pling" at {_p} with pitch 1 volume 10
        open virtual chest inventory with size 6 named "&eBanka / Giriş Yap" to {_p}
        format gui slot 11 of {_p} with 339 named "0" to run function girisyap({_p}, "sifrebirarttir") with "left" click
        format gui slot 11 of {_p} with 339 named "0" to run function girisyap({_p}, "sifrebirazalt") with "right" click
        format gui slot 12 of {_p} with 339 named "0" to run function girisyap({_p}, "sifreikiarttir") with "left" click
        format gui slot 12 of {_p} with 339 named "0" to run function girisyap({_p}, "sifreikiazalt") with "right" click
        format gui slot 13 of {_p} with 339 named "0" to run function girisyap({_p}, "sifreucarttir") with "left" click
        format gui slot 13 of {_p} with 339 named "0" to run function girisyap({_p}, "sifreucazalt") with "right" click
        format gui slot 14 of {_p} with 339 named "0" to run function girisyap({_p}, "sifredortarttir") with "left" click
        format gui slot 14 of {_p} with 339 named "0" to run function girisyap({_p}, "sifredortazalt") with "right" click
        format gui slot 31 of {_p} with 76 named "&aSıfırla" to run function girisyap({_p}, "sifresifirla") with "left" click
        make a gui slot 30 of {_p} with 145 named "&aGiriş Yap" with lore "||&eHesabına Giriş||&eyapmak için tıkla!" to run using left:
            set {_sifre1} to name of slot 11 of {_p}'s current inventory parsed as integer
            set {_sifre2} to name of slot 12 of {_p}'s current inventory parsed as integer
            set {_sifre3} to name of slot 13 of {_p}'s current inventory parsed as integer
            set {_sifre4} to name of slot 14 of {_p}'s current inventory parsed as integer
            set {_sifre} to "%{_sifre1}%%{_sifre2}%%{_sifre3}%%{_sifre4}%"
            if {_sifre1} and {_sifre2} and {_sifre3} and {_sifre4} is bigger than 0:
                if {_sifre1} and {_sifre2} and {_sifre3} and {_sifre4} is smaller than 10:
                    if {_sifre} = {banka::sifre::%{_p}%}:
                        set {banka::girisyapmismi::%{_p}%} to true
                        banka({_p}, "menu")
                        send "{@p} &eŞifre Doğru! Hesabına başarıyla giriş yaptın." to {_p}
                    else:
                        send "{@p} &cGirdiğin şifre yanlış!" to {_p}
                else:
                    send "{@p} &cGirdiğin şifre 10'dan küçük olmalı!" to {_p}
            else:
                send "{@p} &cGirdiğin şifre 0'dan büyük olmalı!" to {_p}

function sifreolustur(p: Player, tiklamaturu: String):
    set {_sifre1} to name of slot 11 of {_p}'s current inventory parsed as number
    set {_sifre2} to name of slot 12 of {_p}'s current inventory parsed as number
    set {_sifre3} to name of slot 13 of {_p}'s current inventory parsed as number
    set {_sifre4} to name of slot 14 of {_p}'s current inventory parsed as number
    if {_tiklamaturu} is "sifrebirarttir":
        add 1 to {_sifre1}
    else if {_tiklamaturu} is "sifrebirazalt":
        remove 1 from {_sifre1}
    else if {_tiklamaturu} is "sifreikiarttir":
        add 1 to {_sifre2}
    else if {_tiklamaturu} is "sifreikiazalt":
        remove 1 from {_sifre2}
    else if {_tiklamaturu} is "sifreucarttir":
        add 1 to {_sifre3}
    else if {_tiklamaturu} is "sifreucazalt":
        remove 1 from {_sifre3}
    else if {_tiklamaturu} is "sifredortarttir":
        add 1 to {_sifre4}
    else if {_tiklamaturu} is "sifredortazalt":
        remove 1 from {_sifre4}
    else if {_tiklamaturu} is "sifresifirla":
        set {_sifre1} to 0
        set {_sifre2} to 0
        set {_sifre3} to 0
        set {_sifre4} to 0
    set name of slot 11 of {_p}'s current inventory to "%{_sifre1}%"
    set name of slot 12 of {_p}'s current inventory to "%{_sifre2}%"
    set name of slot 13 of {_p}'s current inventory to "%{_sifre3}%"
    set name of slot 14 of {_p}'s current inventory to "%{_sifre4}%"
 
function girisyap(p: Player, tiklamaturu: String):
    set {_sifre1} to name of slot 11 of {_p}'s current inventory parsed as number
    set {_sifre2} to name of slot 12 of {_p}'s current inventory parsed as number
    set {_sifre3} to name of slot 13 of {_p}'s current inventory parsed as number
    set {_sifre4} to name of slot 14 of {_p}'s current inventory parsed as number
    if {_tiklamaturu} is "sifrebirarttir":
        add 1 to {_sifre1}
    else if {_tiklamaturu} is "sifrebirazalt":
        remove 1 from {_sifre1}
    else if {_tiklamaturu} is "sifreikiarttir":
        add 1 to {_sifre2}
    else if {_tiklamaturu} is "sifreikiazalt":
        remove 1 from {_sifre2}
    else if {_tiklamaturu} is "sifreucarttir":
        add 1 to {_sifre3}
    else if {_tiklamaturu} is "sifreucazalt":
        remove 1 from {_sifre3}
    else if {_tiklamaturu} is "sifredortarttir":
        add 1 to {_sifre4}
    else if {_tiklamaturu} is "sifredortazalt":
        remove 1 from {_sifre4}
    else if {_tiklamaturu} is "sifresifirla":
        set {_sifre1} to 0
        set {_sifre2} to 0
        set {_sifre3} to 0
        set {_sifre4} to 0
    set name of slot 11 of {_p}'s current inventory to "%{_sifre1}%"
    set name of slot 12 of {_p}'s current inventory to "%{_sifre2}%"
    set name of slot 13 of {_p}'s current inventory to "%{_sifre3}%"
    set name of slot 14 of {_p}'s current inventory to "%{_sifre4}%"

function bankaprofil(p: player, o: String):
    set {_oyuncu} to {_o} parsed as player
    play raw sound "note.pling" at {_p} with pitch 1 volume 10
    open virtual chest inventory with size 6 named "&eProfil / %{_o}%" to {_p}
    make gui slot 13 of {_p} with {_oyuncu}'s skull named "&a%{_o}%" with lore "&9&m------------------------||||&eBanka Türü||&e&m--------------||&7%{banka::tur::%{_o}%}%||||&eKayıt Tarihi: &7%{banka::kayittarihi::%{_o}%}%||&eBanka Görüntülenmesi: &7%{banka::goruntulenmesi::%{_o}%}%" to nothing
    make a gui slot 45 of {_p} with 262 named "&c&l<- Önceki Sayfa" to run function bankacilar({_p}, 1)
    
function bankacilar(p: player , i: number):
    play raw sound "note.pling" at {_p} with pitch 1 volume 10
    set {_bankacisayisi} to size of {bankahesaplari::*}
    set {_sayfa::maksimum} to {_i} * ((6 - 1) * 9)
    set {_sayfa::minimum} to ({_i} - 1) * ((6 - 1) * 9)
    set {_sayfa::bankacilar} to 0                                                                                                                                                                                                                                                                                                                                                                             
    set {_sayfa::miktar} to 0
    set {_sayfa::sayi} to {_i}
    set {_sayfalar} to size of {bankahesaplari::*} / ((6 - 1) * 9)
    set {_sayfalar} to "%{_sayfalar}%"
    set {_sayfalar::*} to {_sayfalar} split at "."
    set {_sayfa::toplam} to {_sayfalar::1}
    if {_sayfalar::2} is set:
        set {_sayfa::toplam} to {_sayfa::toplam} parsed as an integer
        add 1 to {_sayfa::toplam}
    if inventory name of {_p}'s current inventory does not contain "&0Tüm Bankacıların Listesi":
        open virtual chest with size 6 named "&0Tüm Bankacıların Listesi %{_sayfa::sayi}%/%{_sayfa::toplam}%" to {_p}
    else:
        loop (6 * 9) times:
            set slot (loop-number - 1) of {_p}'s current inventory to air
        set inventory name of {_p}'s current inventory to "&0Tüm Bankacıların Listesi %{_sayfa::sayi}%/%{_sayfa::toplam}%"
    if {_sayfa::sayi} is greater than 1:
        make gui slot (6 * 9 - 9) of {_p} with 262 named "&eÖnceki Sayfa" to run using left:
            if {_sayfalar::1} parsed as an integer is greater than 1:
                set {_sayi} to "%{_sayfalar::1} parsed as an integer - 1%"
                bankacilar({_p}, {_sayi})
            else:
                bankacilar({_p}, 1)
        set slot (6 * 9 - 8) of {_p}'s current inventory to 160:14 named "&7"
        set slot (6 * 9 - 7) of {_p}'s current inventory to 160:15 named "&7"
        set slot (6 * 9 - 6) of {_p}'s current inventory to 160:15 named "&7"
        make gui slot (6 * 9 - 5) of {_p} with 385 named "&eSayfayı Yenile" to run using left:
            bankacilar({_p}, 1)
        set slot (6 * 9 - 4) of {_p}'s current inventory to 340 named "&eTüm Bankacıların Sayısı" with lore "&7Bankacılar &8» &c%{_bankacisayisi}%"
        set slot (6 * 9 - 3) of {_p}'s current inventory to 160:15 named "&7"
        set slot (6 * 9 - 2) of {_p}'s current inventory to 160:15 named "&7"
        set slot (6 * 9 - 1) of {_p}'s current inventory to 160:14 named "&7"
    else:
        make gui slot (6 * 9 - 9) of {_p} with 262 named "&eÖnceki Sayfa" to run using left:
            if {_sayfa::sayi} is greater than 1:
                make gui slot (6 * 9 - 9) of {_p} with 385 named "&eÖnceki Sayfa" to run using left:
                    if {_sayfalar::1} parsed as an integer is greater than 1:
                        set {_sayi} to "%{_sayfalar::1} parsed as an integer - 1%"
                        bankacilar({_p}, {_sayi})
                    else:
                        bankacilar({_p}, 1)
        set slot (6 * 9 - 8) of {_p}'s current inventory to 160:14 named "&7"
        set slot (6 * 9 - 7) of {_p}'s current inventory to 160:15 named "&7"
        set slot (6 * 9 - 6) of {_p}'s current inventory to 160:15 named "&7"
        make gui slot (6 * 9 - 5) of {_p} with 385 named "&eSayfayı Yenile" to run using left:
            bankacilar({_p}, 1)
        set slot (6 * 9 - 4) of {_p}'s current inventory to 340 named "&eTüm Bankacıların Sayısı" with lore "&7Bankacılar &8» &c%{_bankacisayisi}%"
        set slot (6 * 9 - 3) of {_p}'s current inventory to 160:15 named "&7"
        set slot (6 * 9 - 2) of {_p}'s current inventory to 160:15 named "&7"
        set slot (6 * 9 - 1) of {_p}'s current inventory to 160:14 named "&7"
    loop {bankahesaplari::*}:
        if {_sayfa::bankacilar} is less than {_sayfa::maksimum}:
            if {_sayfa::miktar} is greater than or equal to {_sayfa::minimum}:
                set {_Bankacı} to "%loop-value%"
                make gui slot {_sayfa::bankacilar} of {_p} with loop-value's skull named "&e%loop-value%" to run using left:
                    if {banka::goruntuleme::%{_p}%::%{_Bankacı}%} is not set:
                        set {banka::goruntuleme::%{_p}%::%{_Bankacı}%} to true
                        add 1 to {banka::goruntulenmesi::%{_Bankacı}%}
                    bankaprofil({_p}, "%{_Bankacı}%")
                add 1 to {_sayfa::bankacilar}
        add 1 to {_sayfa::miktar}
    if {_sayfa::sayi} is less than {_sayfa::toplam}:
        make gui slot (6 * 9 - 1) of {_p} with 262 named "&eSonraki Sayfa" to run using left:
            set {_sayi2} to "%{_sayfalar::1} parsed as an integer + 1%"
            bankacilar({_p}, {_sayi2})
    if {_sayfa::miktar} is 0:
        open virtual chest with size 1 named "&0Mevcut Bankacı Sayısı: &a%{_sayfa::miktar}%" to {_p}
        set slot 0 of {_p}'s current inventory to 160:15 named "&7"
        set slot 1 of {_p}'s current inventory to 160:15 named "&7"
        set slot 2 of {_p}'s current inventory to 160:15 named "&7"
        set slot 3 of {_p}'s current inventory to 160:15 named "&7"
        set slot 4 of {_p}'s current inventory to 340 named "&eHenüz Bankacı bulunmamakta"
        set slot 5 of {_p}'s current inventory to 160:15 named "&7"
        set slot 6 of {_p}'s current inventory to 160:15 named "&7"
        set slot 7 of {_p}'s current inventory to 160:15 named "&7"
        set slot 8 of {_p}'s current inventory to 160:15 named "&7"
    
on inventory click:
    if inventory name of player's current inventory contains "&0Mevcut Bankacı Sayısı: ":
        cancel event
    if inventory name of player's current inventory contains "&0Tüm Bankacıların Listesi":
        cancel event
        set {_sayfa} to "%inventory name of player's current inventory%"
        replace all "&0Tüm Bankacıların Listesi " in {_sayfa} with ""
        set {_sayfalar::*} to {_sayfa} split at "/"
 
command /banka:
    trigger:
        if {banka::hesapacmismi::%player%} is not set:
            banka(player, "ac")
        else:
            if {banka::sifreolusturmusmu::%player%} is true:
                if {banka::girisyapmismi::%player%} is true:
                    banka(player, "menu")
                else:
                    banka(player, "girisyap")
            else:
                banka(player, "sifreolustur")
        
command /bankasifirla [<player>]:
    aliases: bs
    permission: bs.admin
    trigger:
        if arg 1 is not set:
            send "{@p} &e/bankasifirla &f<oyuncu>" to player
        if arg 1 is set:
            if arg 1 is online:
                set {banka::goruntulenmesi::%arg 1%} to 0
                set {banka::para::%arg 1%} to 0
                set {banka::limit::%arg 1%} to {@limitbaslangicfiyati}
                set {banka::borc::%arg 1%} to 0
                set {banka::kredicekmismi::%arg 1%} to false
                send "{@p} &e%arg 1%, &7oyuncusunun bilgileri sıfırlandı!" to player
            else:
                send "{@p} &cOyuncu aktif değil!" to player
        
on quit:
    set {banka::girisyapmismi::%player%} to false
    delete {kredicekiyor::%player%}
    delete {paracekiyor::%player%}
    delete {parayatiriyor::%player%}
 
command /cek [<player>] [<integer>]:
    trigger:
        if arg 1 is not set:
            send "{@p} &e/cek &f<oyuncu> <fiyat>" to player
        if arg 1 is set:
            if arg 1 = player:
                send "{@p} &cKendine çek yazamazsın!" to player
            else:
                if arg 1 is online:
                    if arg 2 is set:
                        set {_arg2} to "%arg 2%" parsed as integer
                        if balance of player is bigger than or equal to {_arg2}:
                            execute console command "eco take %player% %{_arg2}%"
                            set {_ceksahibi} to arg 1
                            set {_cekfiyati} to "%arg 2%" parsed as integer
                            give 1 339 named "%{_cekfiyati}% TL &eÇek" with lore "||&a&m------||||&8Çeki Yazan: &7%player%||&8Çekin Sahibi: &7%{_ceksahibi}%||||&7Çeki bozdurmak için tıkla!" to player
                        else:
                            send "{@p} &cYeterli paran yok!" to player
                    else:
                        send "{@p} &e/cek &f<oyuncu> <fiyat>" to player
                else:
                    send "{@p} &cOyuncu aktif değil!" to player
            
on rightclick with a 339:
    if lore of player's held item contains "&8Çekin Sahibi: &7%player%":
        play raw sound "note.pling" at player with pitch 2 volume 10
        lore of player's tool contains "&7Çeki bozdurmak için tıkla!"
        set {_miktar} to name of tool
        replace all " TL &eÇek" with "" in {_miktar}
        set {_miktar} to name of tool parsed as integer
        remove 1 of player's tool from player
        execute console command "eco give %player% %{_miktar}%"
        send "{@p} &eÇek bozduruldu!" to player
    else:
        send "{@p} &cÇekin sahibi sen değilsin!" to player
    
on chat:
    if {kredicekiyor::%player%} is set:
        cancel event
        if message is "iptal":
            delete {kredicekiyor::%player%}
            send "{@p} &cKredi çekimi iptal edildi!" to player
            banka(player, "kredicek")
        else:
            set {_fiyat} to "%message%" parsed as integer
            set {_enazkredifiyati} to "%{banka::limit::%player%} / 2%" parsed as integer
            set {_borc} to "%{_fiyat} * 2%" parsed as integer
            if {_fiyat} is bigger than 0:
                if {_fiyat} is bigger than {_enazkredifiyati}:
                    if {_fiyat} is smaller than {banka::limit::%player%}+1:
                        delete {kredicekiyor::%player%}
                        set {banka::borc::%player%} to {_borc}
                        set {banka::kredicekmismi::%player%} to true
                        execute console command "eco give %player% %{_fiyat}%"
                        send "{@p} &eBankadan &2%{_fiyat}% TL &ekredi çektin!" to player
                        banka(player, "menu")
                    else:
                        send "{@p} &cGirdiğin fiyat Limiti aşıyor!" to player
                else:
                    send "{@p} &cGirdiğin fiyat &2%{_enazkredifiyati}% TL&c'den fazla olmalı!" to player
            else:
                send "{@p} &cGirdiğin fiyat 0 TL'den fazla olmalı!" to player
    if {paracekiyor::%player%} is set:
        cancel event
        if message is "iptal":
            delete {paracekiyor::%player%}
            send "{@p} &cPara çekimi iptal edildi!" to player
            banka(player, "paracek")
        else:
            set {_fiyat} to "%message%" parsed as integer
            if {_fiyat} is bigger than 0:
                if {_fiyat} is smaller than {banka::para::%player%}+1:
                    delete {paracekiyor::%player%}
                    remove {_fiyat} from {banka::para::%player%}
                    execute console command "eco give %player% %{_fiyat}%"
                    send "{@p} &eHesabından &2%{_fiyat}% TL &epara çektin!" to player
                    banka(player, "paracek")
                else:
                    send "{@p} &cGirdiğin fiyat Limit'i aşıyor!" to player
            else:
                send "{@p} &cGirdiğin fiyat 0 TL'den fazla olmalı!" to player
    if {parayatiriyor::%player%} is set:
        cancel event
        if message is "iptal":
            delete {parayatiriyor::%player%}
            send "{@p} &cPara yatırımı iptal edildi!" to player
            banka(player, "parayatir")
        else:
            set {_fiyat} to "%message%" parsed as integer
            if {_fiyat} is bigger than 0:
                if balance of player is bigger than or equal to {_fiyat}:
                    delete {parayatiriyor::%player%}
                    add {_fiyat} to {banka::para::%player%}
                    execute console command "eco take %player% %{_fiyat}%"
                    send "{@p} &eHesabına &2%{_fiyat}% TL &epara yatırdın!" to player
                    banka(player, "parayatir")
                else:
                    send "{@p} &cGirdiğin fiyat Paran'ı aşıyor!" to player
            else:
                send "{@p} &cGirdiğin fiyat 0 TL'den fazla olmalı!" to player
Bu skript belki işine yarıya bilir.
 
aga yardımların için teşekkür ederimde bunlarda askeri ücret vs. var ve daha fazlası ben tam yazdıklarım olan bişi istiyorum
 
aga yardımların için teşekkür ederimde bunlarda askeri ücret vs. var ve daha fazlası ben tam yazdıklarım olan bişi istiyorum
Yani istediğin türden skript bulmadım ya en son attığımı kendine göre ayarlayacaksın. Yapacak biri çıkar mı emin değilim.
 
Bu işini görür mü?
Kod:
options:
    serverprefix: &8[&6Banka&8]

command /banka [<text>] [<number>]:
    trigger:
        if arg-1 is not set:
            if arg-2 is not set:
                send "{@serverprefix} &c/Banka Yatir [Miktar] &aYazarak Bankaniza Para Yatirabilirsiniz." to player
                send "{@serverprefix} &c/Banka Cek [Miktar] &aYazarak Bankanizdan Para Cekebilirsiniz." to player
                send "{@serverprefix} &c/Banka Miktar &aYazarak Bankadaki Paraniza Bakabilirsiniz." to player
                stop trigger
        if arg-1 is set:
            if arg-2 is set:
                if arg-1 is "yatir" or "yatır":
                    if player's balance is bigger than arg-2:
                        if arg-2 < 1:
                            send "{@serverprefix} &aEn Az 1 Yazmalisin!" to player
                            stop trigger
                        else:
                            execute console command "eco take %player% %arg-2%"
                            add arg-2 to {banka.miktar.%player%}
                            send "{@serverprefix} &aHesabiniza &bT%arg-2% &aPara Yatirildi." to player
                            stop trigger
                    else:   
                        send "{@serverprefix} &cO Kadar Paran Yok." to player
                        stop trigger
                if arg-1 is "cek" or "çek":
                    if {banka.miktar.%player%} is bigger than or equal to arg-2:
                        if arg-2 < 1:
                            send "{@serverprefix} &aEn Az 1 Yazmalisin!"
                            stop trigger
                        else:
                            remove arg-2 from {banka.miktar.%player%}
                            execute the command "eco give %player% %arg-2%"
                            send "{@serverprefix} &aHesabinizdan &bT%arg-2% &aPara Cektiniz." to player
                            stop trigger
            if arg-1 is "miktar":
                send "{@serverprefix} &aBankadaki Paran &cT%{banka.miktar.%player%}%" to player
                stop trigger
            else:
                send "{@serverprefix} &c/Banka Yatir [Miktar] &aYazarak Bankaniza Para Yatirabilirsiniz." to player
                send "{@serverprefix} &c/Banka Cek [Miktar] &aYazarak Bankanizdan Para Cekebilirsiniz." to player
                send "{@serverprefix} &c/Banka Miktar &aYazarak Bankadaki Paraniza Bakabilirsiniz." to player
                stop trigger
 
Bu işini görür mü?
Kod:
options:
    serverprefix: &8[&6Banka&8]

command /banka [<text>] [<number>]:
    trigger:
        if arg-1 is not set:
            if arg-2 is not set:
                send "{@serverprefix} &c/Banka Yatir [Miktar] &aYazarak Bankaniza Para Yatirabilirsiniz." to player
                send "{@serverprefix} &c/Banka Cek [Miktar] &aYazarak Bankanizdan Para Cekebilirsiniz." to player
                send "{@serverprefix} &c/Banka Miktar &aYazarak Bankadaki Paraniza Bakabilirsiniz." to player
                stop trigger
        if arg-1 is set:
            if arg-2 is set:
                if arg-1 is "yatir" or "yatır":
                    if player's balance is bigger than arg-2:
                        if arg-2 < 1:
                            send "{@serverprefix} &aEn Az 1 Yazmalisin!" to player
                            stop trigger
                        else:
                            execute console command "eco take %player% %arg-2%"
                            add arg-2 to {banka.miktar.%player%}
                            send "{@serverprefix} &aHesabiniza &bT%arg-2% &aPara Yatirildi." to player
                            stop trigger
                    else: 
                        send "{@serverprefix} &cO Kadar Paran Yok." to player
                        stop trigger
                if arg-1 is "cek" or "çek":
                    if {banka.miktar.%player%} is bigger than or equal to arg-2:
                        if arg-2 < 1:
                            send "{@serverprefix} &aEn Az 1 Yazmalisin!"
                            stop trigger
                        else:
                            remove arg-2 from {banka.miktar.%player%}
                            execute the command "eco give %player% %arg-2%"
                            send "{@serverprefix} &aHesabinizdan &bT%arg-2% &aPara Cektiniz." to player
                            stop trigger
            if arg-1 is "miktar":
                send "{@serverprefix} &aBankadaki Paran &cT%{banka.miktar.%player%}%" to player
                stop trigger
            else:
                send "{@serverprefix} &c/Banka Yatir [Miktar] &aYazarak Bankaniza Para Yatirabilirsiniz." to player
                send "{@serverprefix} &c/Banka Cek [Miktar] &aYazarak Bankanizdan Para Cekebilirsiniz." to player
                send "{@serverprefix} &c/Banka Miktar &aYazarak Bankadaki Paraniza Bakabilirsiniz." to player
                stop trigger
deniyom birazdan faizleniyo ama demi en önemlisi o
Gönderi otomatik olarak birleştirildi:

banka kayıt falan yok bunda istediklerm :(
 
Son düzenleme:
Şu konuya göz atar mısın?
Tıkla!
Gönderi otomatik olarak birleştirildi:

Eğer bu işini görmezse bir de şuna bakın
Tıkla!
 
1.si güzel gibi ama faiz yok
2.sinde xp yatırma vb. var ben öyle istemiyom ve faizde yok
 
Bir de buna bak
Kod:
CSS:
load:
    load yaml "plugins/Sk-yVariable/variables.yml" as "variable"
    load yaml "plugins/bBank/config.yml" as "c"
    load yaml "plugins/bBank/language.yml" as "l"
    yaml "c" is empty:
        set yaml value "Banka.Para.Banka Kurma" from "c" to 5000
        set yaml value "Banka.Para.Başlangıçta verilen para" from "c" to 2000
        set yaml value "Banka.Şifre.Hane Sayısı" from "c" to 5
        set yaml value "Banka.Kasa.Minimum Kilit Açma Ücreti" from "c" to 1000
        save yaml "c"
    yaml "l" is empty:
        set yaml value "Banka.Para.Banka Kurma" from "l" to "&2Bankanızı başarıyla kurdunuz!"
        set yaml value "Banka.Yok" from "l" to "&2Herhangi bir bankanız bulunmuyor!"
        set yaml value "Banka.Para.Transfer" from "l" to "&2Banka transferiniz başarılı!"
        set yaml value "Banka.Giriş" from "l" to "&2Lütfen şifrenizi giriniz!"
        set yaml value "Banka.Şifre.Değiştirme" from "l" to "&2Banka şifreniz değiştirildi!"
        set yaml value "Banka.Şifre.Yanlış" from "l" to "&2Banka şifrenizi yanlış girdiniz!"
        set yaml value "Banka.Zaten" from "l" to "&2Zaten mevcut bir bankanız var!"
        set yaml value "Banka.Para.Yeterli Değil" from "l" to "&2Bu işlem için gereken parayı karşılayamıyorsunuz!"
        set yaml value "Banka.Para.Para Çekme" from "l" to "&2Başarıyla istenilen birimi çektiniz!"
        set yaml value "Banka.Para.Para Yatırma" from "l" to "&2Başarıyla istenilen birimi yatırdınız!"
        set yaml value "Banka.Menü Başlığı" from "l" to "&2bBank"
        save yaml "l"
command /banka [<text>] [<text>] [<text>] [<number>] [<offlineplayer>]:
    trigger:
        if yaml value "%player%.banka.para" from "variable" is less than 0:
            set {_x} to getVariable("%player%", "banka.Son Kredi Zamanı") parsed as date
            set {_x2} to "%now%" parsed as date
            set {_l} to convert date {_x} to unix date
            set {_l2} to convert date {_x2} to unix date
            set {_t} to yaml value "%player%.banka.para" from "variable" + round((({_l2} - {_l}) * yaml value "%player%.banka.para" from "variable" / 10000))
            set {_t} to "%{_t}%"
            setVariable("%player%", "banka.para", {_t})
            setVariable("%player%", "banka.Son Kredi Zamanı", "%now%")
        arg-1 is "kur":
            if arg-2 is set:
                bs(player)
                stop
            if getVariable("%player%", "banka.para") isn't set:
                if player's balance > yaml value "Banka.Para.Banka Kurma" from "c" - 1:
                    close player's inventory
                    setVariable("%player%", "banka.para", yaml value "Banka.Para.Başlangıçta verilen para" from "c")
                    remove yaml value "Banka.Para.Banka Kurma" from "c" from player's balance
                    send "%yaml value ""Banka.Para.Banka Kurma"" from ""l""%"
                    play sound "LEVEL_UP" with volume 1 at player for player
                    log "Bankasını kurdu." to "bBank/%player%"
                    execute player command "Banka kilitdegistir"
                    wait 1 tick
                    brs(0, player, 1, glass, "Şifrenizi ayarlıyın.", "", "", "")
                else:
                    send "%yaml value ""Banka.Para.Yeterli Değil"" from ""l""%"
            else:
                send "%yaml value ""Banka.Zaten"" from ""l""%"
        if arg-1 is not set:
            if getVariable("%player%", "banka.para") is not set:
                execute player command "banka kur z"
                stop
        set {_f} to yaml value "%player%.banka.para" from "variable"
        set {_fx} to yaml value "%player%.banka.xp" from "variable"
        arg-1 is "banktab":
            close player's inventory
            wait 3 tick
            if arg-2 is "x":
                if getVariable("%player%", "banka.para") > arg-4 * yaml value "Banka.Kasa.Minimum Kilit Açma Ücreti" from "c" - 1:
                    set {_t} to {_f} - yaml value "Banka.Kasa.Minimum Kilit Açma Ücreti" from "c" * arg-4
                    setVariable("%player%", "banka.para", "%{_t}%")
                    setVariable("%player%", "banka.kasa%arg-4%", "açık")
                    log "%arg-4%. Kasanın kilitini açtı." to "bBank/%player%"
                    play sound "LEVEL_UP" with volume 1 at player for player
                else:
                    send "&cParanız yeterli değil!"
            if arg-4 is not set:
                open chest with 1 row named "&f&lBanka &2Bölüm Seç &7/ &4%nformat({_x}) otherwise 0%&cxp &4%nformat({_f})%&c" to player
                loop 8 times:
                    brs(loop-number -1, player, loop-number, ("Smaug" parsed as offline player)'s skull, "&f&lBanka &2Bölüm: %loop-number% &7/ &4%yaml value ""Banka.Kasa.Minimum Kilit Açma Ücreti"" from ""c"" * loop-number% &c&o Para ile bu kilidi açabilirsin", "banka banktab x z %loop-number%", "", "")
                    if getVariable("%player%", "banka.kasa%loop-number%") is "açık":
                        brs(loop-number -1, player, loop-number, ("MHF_Chest" parsed as offline player)'s skull, "&f&lBanka &2Bölüm: %loop-number% &7/", "banka banktab z z %loop-number%", "", "")
                    brs(8, player, 1, ("MHF_ArrowLeft" parsed as offline player)'s skull, "&c&oGeri git", "/banka", "&f  &e&oAna menü &8< &e&oTransfer", "&f &6Sol tıklayarak geri işlemini gerçekleştirin!")
            if arg-4 < 9:
                log "%arg-4%. Kasayı açtı" to "bBank/%player%"
                open chest with 6 row named "&f&lBanka &2Bölüm: %arg-4% &7/ &4%nformat({_fx}) otherwise 0%&cxp &4%nformat({_f})%&c" to player
                loop 8 times:
                    brs(loop-number+44, player, loop-number, ("Smaug" parsed as offline player)'s skull, "&f&lBanka &2Bölüm: %loop-number% &7/ &4%yaml value ""Banka.Kasa.Minimum Kilit Açma Ücreti"" from ""c"" * loop-number% &c&o Para ile bu kilidi açabilirsin", "banka banktab x z %loop-number%", "", "")
                    if getVariable("%player%", "banka.kasa%loop-number%") is "açık":
                        brs(loop-number+44, player, loop-number, ("MHF_Chest" parsed as offline player)'s skull, "&f&lBanka &2Bölüm: %loop-number% &7/", "banka banktab z z %loop-number%", "", "")
                    brs(53, player, 1, ("MHF_ArrowLeft" parsed as offline player)'s skull, "&c&oGeri git", "/banka", "&f  &e&oAna menü &8< &e&oTransfer", "&f &6Sol tıklayarak geri işlemini gerçekleştirin!")
                set {bd.%arg-4%::%player%} to true
                wait 3 tick
                loop {b.%arg-4%::%player%::*}:
                    add loop-value to slot loop-index parsed as integer of current inventory of player
            stop
        arg-1 is "kilitdegistir":
            if getVariable("%player%", "banka.para") is set:
                delete {banka::%player%::kilit::*}
                qilit(player, "ayarla")
                brs(0, player, 1, ("MHF_ArrowLeft" parsed as offline player)'s skull, "&c&oGeri git", "/banka", "&f  &e&oAna menü &8< &e&oKilit değiştir", "&f &6Sol tıklayarak geri işlemini gerçekleştirin!")
                stop
        arg-1 is "kilitayarla":
            arg-2 contains "kilit":
                arg-3 is "sıra":
                    if {banka::%player%::kilit::sıra} is not set:
                        loop 5 times:
                            setVariable("%player%", "banka.kilitsıra%loop-value%", "")
                    add 1 to {banka::%player%::kilit::sıra}
                    setVariable("%player%", "banka.kilitsıra%{banka::%player%::kilit::sıra}%", "%arg-2%")
                    send "&c%{banka::%player%::kilit::sıra}%&8/&c%yaml value ""Banka.Şifre.Hane Sayısı"" from ""c""%"
                    if {banka::%player%::kilit::sıra} is yaml value "Banka.Şifre.Hane Sayısı" from "c":
                        send "%yaml value ""Banka.Şifre.Değiştirme"" from ""l""%"
                        delete {banka::%player%::kilit::sıra}
                        log "Banka kilidini değiştirdi." to "bBank/%player%"
                        play sound "LEVEL_UP" with volume 1 at player for player
                        close player's inventory
        arg-1 is "çek" or "yatır":
            if arg-2 is not set:
                bankmenü(player, arg-1)
                stop
        arg-1 is "transfer":
            if arg-2 is not set:
                setVariable("%player%", "banka.En son Transfer Edilen Kişi", "")
                bankmenü(player, "%arg-1%")
                stop
        arg-1 is "bankagiris":
            if getVariable("%player%", "banka.para") is set:
                delete {banka::%player%::kilit::sıra}
                qilit(player, "gir")
            stop
        arg-1 is "kilitgir":
            add 1 to {banka::%player%::kilit::sıra}
            if     getVariable("%player%", "banka.kilitsıra%{banka::%player%::kilit::sıra}%") is arg-2:
                if {banka::%player%::kilit::sıra} is yaml value "Banka.Şifre.Hane Sayısı" from "c":
                    delete {banka::%player%::kilit::sıra}
                    close player's inventory
                    play sound "LEVEL_UP" with volume 1 at player for player
                    log "Bankasına giriş yaptı." to "bBank/%player%"
                    send "%yaml value ""Banka.Giriş"" from ""l""%"
                    set {z.%player%} to true
                    if {banka::%player%::sonrakikomut} is set:
                        execute player command "%{banka::%player%::sonrakikomut}%"
            else:
                delete {banka::%player%::kilit::sıra}
                close player's inventory
                log "Banka kilitini yanlış girdi." to "bBank/%player%"
                send "%yaml value ""Banka.Şifre.Yanlış"" from ""l""%"
                play sound "NOTE_PLING" with volume 1 at player for player
            stop
        arg-1 is not set:
            if {z.%player%} is not set:
                set {banka::%player%::sonrakikomut} to "banka"
                execute player command "banka bankagiris"
                stop
            open virtual hopper with size 3 named "             %yaml value ""Banka.Menü Başlığı"" from ""l""%" to player
            brs(0, player, 1, ("zEL3M3nTz" parsed as offline player)'s skull, "&eÇek &8 <", "/banka Çek", "&f  &e&oPara &8< &c&oÇek", "&f  &e&oEXP &8< &c&oÇek")
            brs(1, player, 1, ("zEL3M3nTz" parsed as offline player)'s skull, "&eYatır &8 <", "/banka Yatır", "&f  &e&oPara &8< &c&oYatır", "&f  &e&oEXP &8< &c&oYatır")
            brs(2, player, 1, ("MHF_ArrowRight" parsed as offline player)'s skull, "&eTransfer &8 <", "/banka Transfer", "&f  &e&oPara &8< &c&oTransfer", "&f  &e&oEXP &8< &c&oTransfer")
            brs(3, player, 1, ("Addelburgh" parsed as offline player)'s skull, "&eKilit değiştir &8 <", "/banka kilitdegistir", "&f  &e&oKilidini &8< &c&oDeğiştir", "&f &6Sol tıklayarak değiştirme işlemini gerçekleştirin!")
            brs(4, player, 1, ("Addelburgh" parsed as offline player)'s skull, "&eBanka Kasa &8 <", "/banka banktab", "&f  &e&oKasa &8< &c&oBanka", "&f &6Sol tıklayarak kasaya gitme işlemini gerçekleştirin!")
            stop
        delete {z.%player%}
        arg-1 is "çek":
            if arg-2 is "xp":
                if {_fx} > arg 4 -1:
                    lz(player)
                    log "Bankasından %arg-4% miktarında xp çekti." to "bBank/%player%"
                    set {_t} to yaml value "%player%.banka.xp" from "variable" - arg-4
                    set {_t} to "%{_t}%"
                    setVariable("%player%", "banka.xp", {_t})
                    add arg-4 to player's exp
                    send "%yaml value ""Banka.Para.Para Çekme"" from ""l""%"
                    lz(player)
                else:
                    send "%yaml value ""Banka.Para.Yeterli Değil"" from ""l""%"
                stop
            if getVariable("%player%", "banka.para") is set:
                if getVariable("%player%", "banka.para") > arg 4 -1:
                    lz(player)
                    log "Bankasından %arg-4% miktarında para çekti." to "bBank/%player%"
                    set {_t} to yaml value "%player%.banka.para" from "variable" - arg-4
                    set {_t} to "%{_t}%"
                    setVariable("%player%", "banka.para", {_t})
                    add arg-4 to player's balance
                    send "%yaml value ""Banka.Para.Para Çekme"" from ""l""%"
                    lz(player)
                else:
                    send "%yaml value ""Banka.Para.Yeterli Değil"" from ""l""%"
                    if yaml value "%player%.banka.para" from "variable" is greater than 0:
                        bankmenü(player, "kredi çek")
                        send "&2Kredi çekmeye gönderiliyorsunuz"
            else:
                send "%yaml value ""Banka.Yok"" from ""l""%"
        arg-1 is "kredi":
            setVariable("%player%", "banka.Son Kredi Zamanı", "%now%")
            log "Bankasından %arg-4% miktarında kredi çekti." to "bBank/%player%"
            set {_t} to yaml value "%player%.banka.para" from "variable" - arg-4
            set {_t} to "%{_t}%"
            setVariable("%player%", "banka.para", {_t})
            add arg-4 to player's balance
            send "%yaml value ""Banka.Para.Para Çekme"" from ""l""%"
            close player's inventory
            lz(player)
        arg-1 is "yatır":
            if arg-2 is "xp":
                if player's exp > arg 4 - 1:
                    lz(player)
                    set {_t} to yaml value "%player%.banka.xp" from "variable" + arg-4
                    set {_t} to "%{_t}%"
                    setVariable("%player%", "banka.xp", {_t})
                    remove arg-4 from player's exp
                    log "Bankasına %arg-4% miktarında xp yatırdı." to "bBank/%player%"
                    send "%yaml value ""Banka.Para.Para Yatırma"" from ""l""%"
                    lz(player)
                else:
                    send "%yaml value ""Banka.Para.Yeterli Değil"" from ""l""%"
                stop
            if getVariable("%player%", "banka.para") is set:
                if player's balance > arg 4 - 1:
                    lz(player)
                    set {_t} to yaml value "%player%.banka.para" from "variable" + arg-4
                    set {_t} to "%{_t}%"
                    setVariable("%player%", "banka.para", {_t})
                    remove arg-4 from player's balance
                    log "Bankasına %arg-4% miktarında para yatırdı." to "bBank/%player%"
                    send "%yaml value ""Banka.Para.Para Yatırma"" from ""l""%"
                    lz(player)
                else:
                    send "%yaml value ""Banka.Para.Yeterli Değil"" from ""l""%"
            else:
                send "%yaml value ""Banka.Yok"" from ""l""%"
        arg-1 is "sayı":
            # Kilit menüsü gibi Digit(haneli) sayı girimi
        set {_f} to getVariable("%player%", "banka.para")
        set {_fx} to getVariable("%player%", "banka.xp")
        arg-1 is "transfer":
            if getVariable("%{_p}%", "banka.En son Transfer Edilen Kişi") is not set:
                stop
            arg-2 is not "xp":
                if arg-4 is less than getVariable("%player%", "banka.para") parsed as number / 1 + 1:
                    log "%arg-5%'e %arg-4% miktarında para transfer etti." to "bBank/%player%"
                    set {_t} to yaml value "%player%.banka.para" from "variable" - arg-4
                    set {_t} to "%{_t}%"
                    setVariable("%player%", "banka.para", {_t})
                    set {_t} to yaml value "%player%.banka.para" from "variable" + arg-4
                    set {_t} to "%{_t}%"
                    setVariable("%arg-5%", "banka.para", {_t})
                    send "%yaml value ""Banka.Para.Transfer"" from ""l""%"
                    brs(0, player, 1, ("MHF_Question" parsed as offline player)'s skull, "&2Kime gönderilecek? &7/ &4%nformat({_fx}) otherwise 0%&cxp &4%nformat({_f})%&c", "/bnkplayerlist", "", "")
                else:
                    send "%yaml value ""Banka.Para.Yeterli Değil"" from ""l""%"
            else:
                if arg-4 is less than getVariable("%player%", "banka.xp") parsed as number / 1 + 1:
                    log "%arg-5%'e %arg-4% miktarında xp transfer etti." to "bBank/%player%"
                    set {_t} to yaml value "%player%.banka.xp" from "variable" - arg-4
                    set {_t} to "%{_t}%"
                    setVariable("%player%", "banka.xp", {_t})
                    set {_t} to yaml value "%player%.banka.xp" from "variable" + arg-4
                    set {_t} to "%{_t}%"
                    setVariable("%arg-5%", "banka.xp", {_t})
                    send "%yaml value ""Banka.Para.Transfer"" from ""l""%"
                    brs(0, player, 1, ("MHF_Question" parsed as offline player)'s skull, "&2Kime gönderilecek? &7/ &4%nformat({_fx}) otherwise 0%&cxp &4%nformat({_f})%&c", "/bnkplayerlist", "", "")
                else:
                    send "%yaml value ""Banka.Para.Yeterli Değil"" from ""l""%"
function brs(i: number, p: player, i2: number, nb: item, t: text, t2: text, l1: text, l2: text):
    play sound "BLOCK_ANVIL_BREAK" with volume 1 at {_p} for {_p}
    make gui slot {_i} of {_p} with {_i2} of {_nb} named "%{_t}%" with lore "%{_l1}%" and "%{_l2}%" to run {_p} command "%{_t2}%"
function lz(p: player):
    make gui slot 0 of {_p} with air
    wait 1 tick
    set {_t} to yaml value "%{_p}%.banka.para" from "variable"
    set {_tx} to yaml value "%{_p}%.banka.xp" from "variable"
    brs(0, {_p}, 1, (("MHF_Question" parsed as offline player)'s skull), "&7/ &4%nformat({_tx}) otherwise 0%&cxp &4%nformat({_t})%&c", "/nothing", "", "")
function qilit(p: player, t: text):
    open virtual workbench with size 1 named "             %yaml value ""Banka.Menü Başlığı"" from ""l""%" to {_p}
    loop 9 times:
        play sound "BLOCK_ANVIL_BREAK" with volume 1 at {_p} for {_p}
        brs(loop-number, {_p}, loop-number, ("Addelburgh" parsed as offline player)'s skull, "&cKilit %loop-number%", "/banka kilit%{_t}% kilit%loop-number% sıra", "&e&oSıralı &8< &6&oKilit", "&8&o- &3&o Kilidinizi girin")
        add 1 to {_wait}
        loop {_wait}/1 times:
            wait 1 ticks
function bankmenü(p: player, t: text):
    open virtual workbench with size 1 named "             %yaml value ""Banka.Menü Başlığı"" from ""l""%" to  {_p}
    set {_f} to yaml value "%{_p}%.banka.para" from "variable"
    set {_fx} to yaml value "%{_p}%.banka.xp" from "variable"
    set {_s} to yaml value "%{_p}%.banka.En son Transfer Edilen Kişi" from "variable"
    brs(0, {_p}, 1, ("MHF_Question" parsed as offline player)'s skull, "&7/ &4%nformat({_fx}) otherwise 0%&cxp &4%nformat({_f})%&c", "/nothing", "", "")
    if {_t} is "transfer":
        if getVariable("%{_p}%", "banka.En son Transfer Edilen Kişi") is not "":
            brs(0, {_p}, 1, (("%{_s}%" parsed as offline player)'s skull), "&2Kime gönderilecek? &8> &1%{_s}% &7/ &4%nformat({_fx}) otherwise 0%&cxp &4%nformat({_f})%&c", "/bnkplayerlist", "", "")
        else:
            brs(0, {_p}, 1, ("MHF_Question" parsed as offline player)'s skull, "&2Kime gönderilecek? &7/ &4%nformat({_fx}) otherwise 0%&cxp &4%nformat({_f})%&c", "/bnkplayerlist", "", "")
    set {_z} to 1000
    loop 3 times:
        add 1 to {_n}
        brs( {_n}, {_p}, {_z} / 1000, ("luke4891" parsed as offline player)'s skull, "&c&o%{_z}% &e%{_t}%", "/banka %{_t}% xp z %{_z}% %{_s}%", "&f  &e&oBankada bulunan expni %{_t}% &8< &c&o%{_t}%", "&f &6Sol tıklayarak %{_t}% işlemini gerçekleştirin!")
        set {_z} to "%{_z}%0" parsed as int
    make gui slot 4 of {_p} with white stained glass pane named "&f" to run {_p} command "/banka sayı xp %{_z}%"
    make gui slot 5 of {_p} with ("MHF_ArrowLeft" parsed as offline player)'s skull named "&c&oGeri git" with lore "&f  &e&oAna menü &8< &e&o%{_t}%"  and "&f &6Sol tıklayarak geri işlemini gerçekleştirin!" to run {_p} command "/banka"
    make gui slot 6 of {_p} with white stained glass pane named "&f" to run {_p} command "/banka sayı z %{_z}%"
    set {_z} to 1000
    loop 3 times:
        add 1 to {_y}
        brs({_y}+6, {_p}, {_z} / 1000, ("StackedGold" parsed as offline player)'s skull, "&c&o%{_z}% &e%{_t}%", "/banka %{_t}% 5 z %{_z}% %{_s}%", "&f  &e&oBankada bulunan paranı %{_t}% &8< &c&o%{_t}%", "&f &6Sol tıklayarak %{_t}% işlemini gerçekleştirin!")
        set {_z} to "%{_z}%0" parsed as int
on inventory close:
    loop 8 times:
        if {bd.%loop-number%::%player%} is true:
            delete {bd.%loop-number%::%player%}
            loop 45 times:
                set {_b} to slot "%(loop-number-2) - 1%" parsed as an integer of current inventory of player
                if "%nbt of {_b}%" is not "<none>":
                    set {b.%loop-number-1%::%player%::%(loop-number-2) - 1%} to slot "%(loop-number-2) - 1%" parsed as an integer of current inventory of player
command /nothing:
    trigger:
        stop
command /bnkplayerlist [<player>]:
    trigger:
        arg is set:
            setVariable("%player%", "banka.En son Transfer Edilen Kişi", "%arg%")
            close player's inventory
            bankmenü(player, "transfer")
            stop
        open virtual chest with size 6 named "             %yaml value ""Banka.Menü Başlığı"" from ""l""%" to  player
        loop all players:
            make gui slot {_n} otherwise 0 of player with ("loop-value" parsed as offline player)'s skull named "&2%loop-value%" to close then run player command "/bnkplayerlist %loop-value-1%"
            add 1 to {_n}
function nformat(n: number) :: text:
    set {_data} to "KQ,18|K,15|T,12|B,9|M,6|K,3"
    loop split {_data} at "|":
        set {_s::*} to split loop-value at ","
        {_n} >= 10 ^ {_s::2} parsed as number
        return "%{_n} / 10 ^ {_s::2} parsed as number%%{_s::1}%"
    return "%{_n}%"
function bs(p: player):
    set {_book} to a new book
    set {_l} to a new text component with "Merhaba! &5&l %{_p}%! %nl%%nl% Şu anda bankaya %nl% erişebilmek için %nl% gereken &7&nsözleşmeye%nl% bakıyorsun!%nl%%nl%* &8Daima eğleneceğim %nl%%nl%Bu işleme devam etmek için lütfen onayla!"
    set {_onayla} to a new text component with "%nl%%nl% &a&l[Onayla]"
    set {_reddet} to a new text component with " &c&l[Reddet]"
    add click event with action RUN_COMMAND with execute "/banka kur" to {_onayla}
    add hover event with action SHOW_TEXT with text "&3&o%yaml value ""Banka.Para.Banka Kurma"" from ""c""% &bkadar para ile &6&nBankanı&b kurabilirsin!! Eğer onaylıyorsan &c&n&lTIKLA" to text component {_onayla}
    add click event with action RUN_COMMAND with execute "" to text component {_reddet}
    add text component {_l} and {_onayla} and {_reddet} to book {_book}
    open book {_book} to {_p}
function setVariable(variable : text, bool : text, value : text):
    set yaml value "%{_variable}%.%{_bool}%" from "variable" to "%{_value}%"
    save yaml "variable"
function getVariable(variable : text, bool : text) :: text:
    return yaml value "%{_variable}%.%{_bool}%" from "variable"
 
faiz varmı bunda
 
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