OpAlert Skripti V 1.0 | Volume

  • Konuyu Başlatan Konuyu Başlatan Volume
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 734

Volume

Skripter & BackEnd Coder
Katılım
14 Ağustos 2018
Mesajlar
244
Elmaslar
75
Puan
13.475
Yaş
32
Minecraft
VolumeGG
Ne İşe Yarar ?

Yöneticilerin Diğer Yetkililere Kısa Bildirim Yollamasını Sağlar.Küçük Skriptlerdendir.

Kullanımı;

-/opalert [ekle/sil/liste/ileti]
Vaktim Olduğunda Detaylı Anlatacağım.Kusuruma Bakmayın !

Ekstralar
- Ses Desteği
- Tuske Gui Desteği
Kod:
# OP BİLDİRİM SKRİPTİ
# YETKİLİ SKRİPTİ
# VOLUME TARAFINDAN KODLANMIŞTIR !

options:
    p: &eOP&8-&6Alert &8× &6
    noperm: &4Gerekli Yetkiye Sahip Değilsin !
    bvar: &aYöneticiden Bir Bildirim Var ! Göz Atmak için : &4/bbak
    byok: &eBugün Bir Bildirime Sahip Değilsin !
    yekle: &eAdlı Oyuncu Yetkililer Listesine Eklendi ! Yetkililer Listesine Göz Atmak İçin : &4/opalert liste
    oadiyok: &4Oyuncu Adı Girmelisin !
    yliste: &eİşte Yetkililer Listesi;
    ysilindi: &4Adlı Yetkili Silindi !
    yyok: &4Böyle Bir Yetkili Yok !
    iyaz: &eİletinizi Yazınız...
    igonderildi: &eİletiniz Gönderildi !
    ydegilsin: &4Yetkili Değilsin !
    bildirim-sesi: Note-Pling
   
command /opalert [<text>] [<text>]:
    permission: op.alert
    permission message: {@noperm}
    trigger:
        if arg-1 is set:
            if arg-1 is "ekle":
                if arg-2 is set:
                    add "%arg-2%" to {opalert.liste::*}
                    send "{@p} &2%arg-2% {@yekle}" to player
                    play raw sound "random.orb" at player with pitch 1 volume 5
                else:
                    send "{@p} {@oadiyok}" to player
            if arg-1 is "liste":
                play raw sound "random.orb" at player with pitch 1 volume 5
                set {_slot} to -1
                open virtual chest with size 5 named "&eOp&6Alert &8| &6Liste" to player
                make gui slot 36 of player with red wool named "&4Yetkili Sil !" with lore "&8-> &bYetkili Silmek için Tıkla !" to close then run player command "/opalert sil"
                loop {opalert.liste::*}:
                    add 1 to {_slot}
                    make gui slot {_slot} of player with skull of player named "&e%loop-value%" with lore "&8-> &bBu Kişi Bir Yetkili !" to nothing
            if arg-1 is "sil":
                if arg-2 is set:
                    set {_silinen} to "%arg-2%"
                    loop {opalert.liste::*}:
                        if {_silinen} is "%loop-value%":
                            remove {_silinen} from {opalert.liste::*}
                            send "{@p} &e%arg-2% {@ysilindi}" to player
                            play raw sound "random.orb" at player with pitch 1 volume 5
                        else:
                            send "{@p} {@yyok}" to player
                else:
                    play raw sound "random.orb" at player with pitch 1 volume 5
                    set {_slot} to -1
                    open virtual chest with size 5 named "&eOp&6Alert &8| &4Sil !" to player
                    loop {opalert.liste::*}:
                        add 1 to {_slot}
                        make gui slot {_slot} of player with skull of player named "&e%loop-value%" with lore "&8-> &bBu Yetkiliyi Sil !" to close then run player command "/opalert sil %loop-value%"
            if arg-1 is "ileti":
                set {opalert.ileti::%player%} to true
                send "{@p} {@iyaz}" to player
                play raw sound "random.orb" at player with pitch 1 volume 5
        else:
            send "&4Kullanımı; /opalert [&eekle/sil/liste/ileti&4]" to player
               
on chat:
    if {opalert.ileti::%player%} is true:
        cancel event
        send "{@p} {@igonderildi}" to player
        set {opalert.gonderen} to "%player%"
        set {opalert.ileti::%player%} to false
        loop {opalert.liste::*}:
            set {opalert.bvar::%loop-value%} to true
            set {opalert.mesaj::%loop-value%} to "%message%"
        play raw sound "random.orb" at player with pitch 1 volume 5
           
on join:
    wait 5 second
    if {opalert.bvar::%player%} is true:
        send "{@p} {@bvar}" to player
        play raw sound "random.orb" at player with pitch 1 volume 20
        wait 1 second
        play raw sound "random.orb" at player with pitch 1 volume 15
        wait 1 second
        play raw sound "random.orb" at player with pitch 1 volume 10
    else:
        send "{@p} {@byok}" to player
       
command /bbak:
    permission: op.alert.bak
    permission message: {@noperm}
    trigger:
        open virtual chest with size 1 named "&eBildirim !" to player
        make gui slot 1 of player with obsidian named "&e%{opalert.gonderen}%" with lore "&8-> &bEn Son Bildirimi Bu Kişi Gönderdi !" to nothing
        make gui slot 3 of player with book named "&6Bildirim" with lore "&8-> &b%{opalert.mesaj::%player%}%" to nothing
        set {opalert.bvar::%player%} to false
        play raw sound "random.orb" at player with pitch 1 volume 5

 
Moderatör tarafından düzenlendi:
Kral geri dönmüş hoş geldin uzun zamandır pek görmüyordum. Güzel ve başarılı bir skript olmuş. Başarılarının devamını dilerimi, iyi forumlar.
 

Çok yararlı ve özgün düşünülmüş bir skript olmuş. Böyle güzel ve özgün skriptler yazmaya devam edin. Ellerine sağlık!
 
güzel olmuş fakat kullanılır mı bilmem
 
%loop-value% yi bir variable'a set {_head} to "%loop-value%" parsed as offline player yapıp skull of {_head} yapsaydınız güzel olurdu ama yinede güzel bir skript emeğinize sağlık
 
%loop-value% yi bir variable'a set {_head} to "%loop-value%" parsed as offline player yapıp skull of {_head} yapsaydınız güzel olurdu ama yinede güzel bir skript emeğinize sağlık
Güncelleme ile Eklerim.Teşekkürler
 

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