UltraEvent Skripti

mrbobaking

Kızıltaş Madencisi
En iyi cevaplar
0
Version: 1.5
merhaba, öncelikle bu skriptin gövdesi @SnKaan 'ın event skriptinden yapılmıştır. Kod:
Kod:
command /eventcevap <text> <text> <text> <text> <text>:
    trigger:
        player has permission "event.admin"
        set {eventcevap} to "acik"
        set {cevap} to "%arg 1%"
        set {cevap2} to "%arg 1%"
        set {cevap3} to "%arg 1%"
        set {cevap4} to "%arg 1%"
        set {cevap5} to "%arg 1%"
        send "&eCevap: &a%arg 1% &eolarak ayarlandi." to player
        send "&eCevap: &a%arg 2% &eolarak ayarlandi." to player
        send "&eCevap: &a%arg 3% &eolarak ayarlandi." to player
        send "&eCevap: &a%arg 4% &eolarak ayarlandi." to player
        send "&eCevap: &a%arg 5% &eolarak ayarlandi." to player
      
on chat:
    player has permission "event.oyuncu"
    if {eventcevap} is "acik":
        if {cevap} is "%message%":
            broadcast "<green>CEVAP BULUNDU. Kazanan: <gold>%player%. <green>Cevap: %message%!"
            set {cevap-2} to 1
          
on chat:
    player has permission "event.oyuncu"
    if {eventcevap} is "acik":
        if {cevap-2} is set:
            if {cevap2} is "%message%":
                broadcast "<green>CEVAP BULUNDU. Kazanan: <gold>%player%. <green>Cevap: %message%!"
                set {cevap-3} to 1
      
on chat:
    player has permission "event.oyuncu"
    if {eventcevap} is "acik":
        if {cevap-3} is set:
            if {cevap3} is "%message%":
                broadcast "<green>CEVAP BULUNDU. Kazanan: <gold>%player%. <green>Cevap: %message%!"
                set {cevap-4} to 1

on chat:
    player has permission "event.oyuncu"
    if {eventcevap} is "acik":
        if {cevap-4} is set:
            if {cevap4} is "%message%":
                broadcast "<green>CEVAP BULUNDU. Kazanan: <gold>%player%. <green>Cevap: %message%!"
                set {cevap-5} to 1
              
on chat:
    player has permission "event.oyuncu"
    if {eventcevap} is "acik":
        if {cevap-5} is set:
            if {cevap5} is "%message%":
                broadcast "<green>CEVAP BULUNDU. Kazanan: <gold>%player%. <green>sCevap: %message%!"
                set {eventbitis} to 1

command /eventadmin <text>:
    trigger:
        player has permission "event.admin"
        if "%arg 1%" is "kapali":
            set {eventcevap} to 3
        if "%arg 1%" is "acik":
            set {eventcevap} to "acik"

every 1 seconds:      
        loop all players:
                loop-player has permission "admin.admin"
                add loop-player to {_admin::*}
          
command /baslat:
    trigger:
        execute console command "/mangaddp eventciler event.oyuncu"
  
command /durdur:
    trigger:
        execute console command "/mangdelp eventciler event.oyuncu"
  
command /sok <player>:
    trigger:
        execute console command "/manuadd %arg 1% eventciler"
Dikkat: Sadece GroupManager uyumludur. Eğer bir yolunu bulursam başka pluginlerede uyumlu yapacağım.
Dikkat2: Bug çıkabilir. :D Eğer çıkarsa yoruma yazınız. Hatta screenshot falan olursa super olur :D

Edit: Kod eklendi. Açarken konuyu unuttum :D Bütün hatalar düzeltildi. Konsolda hata yok ama oyun içini bilmemem.

Gerekli Pluginler: GroupManager: Yapmanız gereken tek şey eventciler grubunu oluşturmak veya kodda eventciler ismini istediginiz bir grup adına dönüştürmek.

İyi Oyunlar.
 
Son düzenleme:
Üst