Küfür Engelleme Skripti Hata Nerde ?

alico245

Marangoz
En iyi cevaplar
0
Kod:
options:

on first join:
    set {uyaricount.%player%} to 0

on chat:
    message is "{@1}" or "{@2}" or "{@3}" or "{@4}" or "{@5}" or "{@6}" or "{@7}" or "{@1}" or "{@8}" or "{@9}" or "{@10}" or "{@11}" or "{@12}" or "{@13}" or "{@14}" or "{@15}" or "{@16}" or "{@17}" or "{@18}" or "{@19}" or "{@20}" or "{@21}" or "{@22}" or "{@23}" or "{@24}" or "{@25}" or "{@26}" or "{@27}" or "{@28}" or "{@29}" or "{@30}" or "{@31}" or "{@32}" or "{@33}"
    cancel event
    add 1 to {uyaricount.%player%}
    apply potion of Blindness 1 to the player for 15 seconds
    apply potion of Nausea 1 to the player for 15 seconds
    apply potion of Slowness 1 to the player for 15 second
    if {uyaricount.%player%} is equal to 1:
    send "1 Uyari Aldin Bir Daha Kufur Edersen Susturulacaksin!"
    if {uyaricount.%player%} is equal to 2:
    execute console command "mute %player% 30m"
Skriptte Hatayı Bulamadım oyunda biri küfür edince uyarı vermeden önce direk muteliyor Hatada Vermiyor sebebini bulamadım yardım edin lütfen!!
 

TheBlueDeath

Nether Yerlisi
En iyi cevaplar
0
Kod:
options:

on first join:
    set {uyaricount.%player%} to 0

on chat:
    message is "{@1}" or "{@2}" or "{@3}" or "{@4}" or "{@5}" or "{@6}" or "{@7}" or "{@1}" or "{@8}" or "{@9}" or "{@10}" or "{@11}" or "{@12}" or "{@13}" or "{@14}" or "{@15}" or "{@16}" or "{@17}" or "{@18}" or "{@19}" or "{@20}" or "{@21}" or "{@22}" or "{@23}" or "{@24}" or "{@25}" or "{@26}" or "{@27}" or "{@28}" or "{@29}" or "{@30}" or "{@31}" or "{@32}" or "{@33}"
    cancel event
    add 1 to {uyaricount.%player%}
    apply potion of Blindness 1 to the player for 15 seconds
    apply potion of Nausea 1 to the player for 15 seconds
    apply potion of Slowness 1 to the player for 15 second
    if {uyaricount.%player%} is equal to 1:
        send "1 Uyari Aldin Bir Daha Kufur Edersen Susturulacaksin!"
    else if {uyaricount.%player%} is greater than or equal to 2:
        execute console command "mute %player% 30m"

Şu halde dener misin?
 

bluera

Fiercely unapologetic.
Geliştirici
Emekli
En iyi cevaplar
13
"on first join" kullanmışsınız. Sunucunuzda ilk defa oynamayan oyuncuları değişken görmüyor o yüzden "on join" kullanın.
HTML:
on join:
[TAB]if {uyaricount.%player%} is not set:
[TAB][TAB]set {uyaricount.%player%} to 0
 

alico245

Marangoz
En iyi cevaplar
0
Denedim Oda Olmadı Tahminimce Sorun if {uyaricount.%player%} is equal to 1: buralarda Konu Aktif!

Hallettim Konu Çözüldü Yapılabilir Teşekkürler
 
Üst