Skript Paylaşımı Vixio Serisi #4 | Hesap Makinesi

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

Furkan Doğan

Ziyaretçi
Merhabalar;

4. Vixio Konumda Belki Birilerinin İşine Yarar Diyerek Yaptığım Hesap Makinesi Sistemini Paylaşıyorum.

GEREKSİNİMLER;
-
Vixio | Vixio Hakkında Bilgi Sahibi Olmak İçin; https://www.mc-tr.com/konu/vixio-skript-ile-discord-botu-yaratin.80660/

GÖRSELLER;


Komutumuz;
1.png


Ve Olanlar; (Benim Prefixim p! Kafanız Karışmasın.)
2.png

3.png

4.png

5.png






KOD;
Kod:
options:
    p: !    
    botToken: "buraya yapıştır"
    botName: "buraya yapıştır"
    sunucuID: "buraya yapıştır"    
    
on load:
    if {@botName} parsed as bot is not set:
        login to {@botToken} with name {@botName}                 
    
on unload:
    logout {@botName}    

discord command {@p}hesapla [<text>] [<number>] [<number>]:
    trigger:
        if arg-1 is "Çarp" or "Çarpma" or "*" or "x":
            set {_sonuc::%event-member%} to (arg-2 * arg-3)
            make embed:    
                set author info of embed to an author named "Hesap Makinesi" with no url and icon icon of guild with id {@sunucuID}    
                set description of embed to "%arg-2% **x** %arg-3% **=** %{_sonuc::%event-member%}%"                
                set color of the embed to color from rgb 255, 0, 0
            send last created embed to event-channel with {@botName}                    
        if arg-1 is "Böl" or "Bölme" or "/":
            set {_sonuc::%event-member%} to (arg-2 / arg-3)
            make embed:    
                set author info of embed to an author named "Hesap Makinesi" with no url and icon icon of guild with id {@sunucuID}    
                set description of embed to "%arg-2% **/** %arg-3% **=** %{_sonuc::%event-member%}%"                
                set color of the embed to color from rgb 255, 0, 0
            send last created embed to event-channel with {@botName}                    
        if arg-1 is "Çıkar" or "Çıkarma" or "-":
            set {_sonuc::%event-member%} to arg-2
            remove arg-3 from {_sonuc::%event-member%}
            make embed:    
                set author info of embed to an author named "Hesap Makinesi" with no url and icon icon of guild with id {@sunucuID}    
                set description of embed to "%arg-2% **-** %arg-3% **=** %{_sonuc::%event-member%}%"                
                set color of the embed to color from rgb 255, 0, 0
            send last created embed to event-channel with {@botName}            
        if arg-1 is "Topla" or "Toplama" or "+":
            set {_sonuc::%event-member%} to (arg-2 + arg-3)
            make embed:    
                set author info of embed to an author named "Hesap Makinesi" with no url and icon icon of guild with id {@sunucuID}    
                set description of embed to "%arg-2% **+** %arg-3% **=** %{_sonuc::%event-member%}%"                
                set color of the embed to color from rgb 255, 0, 0
            send last created embed to event-channel with {@botName}

EK AÇIKLAMALAR;

- options'da Bulunan Ayarlar Doğru Biçimde Düzenlenmelidir, Aksi Halde Sistem Çalışmaz.
- Prefixi, Yazıları & Mesajları Dilediğiniz Gibi Değiştirebilirsiniz.

İYİ FORUMLAR..
 

Ekli dosyalar

  • 1.png
    1.png
    893 bayt · Görüntüleme: 38
Son düzenleme:
Güzel olmuş eline sağlık.
 
Gerçekten çok güzel bir çalışma olmuş arkadan hesap makinesini açmadan matematiksel işlemler yapmak iyi bir şey başarılar dilerim.
 
Skript ile neler neler yapıyorsun Furkan :D
Başarılı skript olmuş eline sağlık.
 
Harika gözüküyor daha da ek özellik ekleyebilirsiniz örnek karesini alma , logaritmasını alma vb

Kod:
import:
    java.lang.Math
    
expression [(skmath|math)] %object% ^ %object%:
    get:
        return Math.pow(expression-1,expression-2)

# sayının karesini sk-mirror ile bu şekilde alabilirsiniz
 
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