[SK]Küfür Reklam ve ChatSpam Engeli

Umut Savas

Ne demek yanlış? Ben mi?
En iyi cevaplar
0
Konuya Uğraşamıyacağım işim var İnşallah Beğenirsiniz.
PHP:
Options:
    p: Serverismi
#///// Olasılık Bölümü \\\\\#
on chat:
    if {kontrolyapildi.%player%} is true:
        if chat message contains "küfürolasılığı": #ör: lan "yalan"
            send ""
#///// Küfür Bölümü \\\\\#
on chat:
    if {kontrolyapildi.%player%} is true:
        if chat message contains "küfür":
            if player is op:
                cancel event
                wait 0.5 seconds
                send "{@p} &9&l> &cOpsun Diye Kufur Etmicen Dimi"
                execute console command "mute %player% 1m"
                execute console command "effect %player% 2 60 255"
                execute console command "effect %player% 4 60 255"
                execute console command "effect %player% 17 60 255"
                execute console command "effect %player% 9 60 255"
                execute console command "effect %player% 15 60 255"
                wait 59 seconds
                execute console command "effect %player% clear"
            else:
                cancel event
                wait 0.5 seconds
                send "{@p} &9&l> &cLutfen Kufur Etme"
                execute console command "mute %player% 1m"
                execute console command "effect %player% 2 60 255"
                execute console command "effect %player% 4 60 255"
                execute console command "effect %player% 17 60 255"
                execute console command "effect %player% 9 60 255"
                execute console command "effect %player% 15 60 255"
                wait 59 seconds
                execute console command "effect %player% clear"
#///// Reklam Bölümü \\\\\#
on chat:
    if {kontrolyapildi.%player%} is true:
        if chat message contains "reklam":
            if player is op:
                cancel event
                wait 0.5 seconds
                send "{@p} &9&l> &cOpsun Diye Kendi Serverindemi Reklam Yapıyon!!"
                execute console command "mute %player% 1m"
                execute console command "effect %player% 2 60 255"
                execute console command "effect %player% 4 60 255"
                execute console command "effect %player% 17 60 255"
                execute console command "effect %player% 9 60 255"
                execute console command "effect %player% 15 60 255"
                wait 59 seconds
                execute console command "effect %player% clear"
            else:
                cancel event
                wait 0.5 seconds
                send "{@p} &9&l> &cLutfen Kufur Etme"
                execute console command "mute %player% 1m"
                execute console command "effect %player% 2 60 255"
                execute console command "effect %player% 4 60 255"
                execute console command "effect %player% 17 60 255"
                execute console command "effect %player% 9 60 255"
                execute console command "effect %player% 15 60 255"
                wait 59 seconds
                execute console command "effect %player% clear"
command /kontrol:
    trigger:
        if {kurulumyapildi.%player%} is false:
            set {kurulumyapildi.%player%} to true
            send "&cLutfen Bekleyiniz." to player
            wait 0.5 seconds
            send "&cLutfen Bekleyiniz.." to player
            wait 0.5 seconds
            send "&cLutfen Bekleyiniz..." to player
            wait 5 seconds
            set {kontrolyapildi.%player%} to true
            send "&cKontrol Tamamlandi"
            remove slowness from player
on chat:
    {kontrolyapildi.%player%} is false
    cancel event
    send "&cDosya Kontrol yapilmadi &6/kontrol"
on damage:
    attacker is player
    {kontrolyapildi.%attacker%} is false
    cancel event
    send "&cDosya Kontrol yapilmadi &6/kontrol"
on login:
    set {kurulumyapildi.%player%} to false
    set {kontrolyapildi.%player%} to false
    apply slowness 255 to player for 1 hour
on chat:
    if {kontrolyapildi.%player%} is true:
        {mesajyazdi.%player%} is false
        set {mesajyazdi.%player%} to true
        wait 2 seconds
        set {mesajyazdi.%player%} to false
        {mesajyazdi.%player%} is true
        send ""
on command "/warp":
    {kontrolyapildi.%player%} is false
    cancel event
    send "&cDosya Kontrol yapilmadi &6/kontrol"
on command "/tp":
    {kontrolyapildi.%player%} is false
    cancel event
    send "&cDosya Kontrol yapilmadi &6/kontrol"
on command "/msg":
    {kontrolyapildi.%player%} is false
    cancel event
    send "&cDosya Kontrol yapilmadi &6/kontrol"
Yanlışlarımı Düzeltin Yorumdan Kaçınmayın
 
Son düzenleme:

afesraca

Obsidyen Madencisi
En iyi cevaplar
0
örnek olarak:
Kod:
Some examples:
--- -|Apply|- ---
apply haste 60 to player for 1 hour
apply strength 6 to player for 1 hour
apply speed 4 to player for 1 hour
apply jump boost 4 to player for 1 hour
apply invisibility 4 to player for 1 hour
--- -|Remove|- ---
remove haste from player
remove invisibility from player
remove strength from player
remove slowness from player
remove jump boost from player
remove speed from player
remove nausea from player
 

Umut Savas

Ne demek yanlış? Ben mi?
En iyi cevaplar
0
örnek olarak:
Kod:
Some examples:
--- -|Apply|- ---
apply haste 60 to player for 1 hour
apply strength 6 to player for 1 hour
apply speed 4 to player for 1 hour
apply jump boost 4 to player for 1 hour
apply invisibility 4 to player for 1 hour
--- -|Remove|- ---
remove haste from player
remove invisibility from player
remove strength from player
remove slowness from player
remove jump boost from player
remove speed from player
remove nausea from player
görüş kısıtlığınıda versen :)
 

Umut Savas

Ne demek yanlış? Ben mi?
En iyi cevaplar
0
Onu demedim, oyuncu 'küfür' yazıncamı susturucak ? Bu nasıl bir engelleme sistemi ?
Bak şimdi atıyorum ben serveri kufur1 yapmarım ha yazarsa engeller içinde kufur1 geçiyorsa anında engel atar

sonra 2 saniyede bir yazabiliyorsun

sonra servere girip mesaj yazamıyorsun taki /kontrol komutunu kullanana kadar

küfürleri ve reklamları hazır istersen skype umut6411
 

Neferity

Taş Madencisi
En iyi cevaplar
0
Bak şimdi atıyorum ben serveri kufur1 yapmarım ha yazarsa engeller içinde kufur1 geçiyorsa anında engel atar

sonra 2 saniyede bir yazabiliyorsun

sonra servere girip mesaj yazamıyorsun taki /kontrol komutunu kullanana kadar

küfürleri ve reklamları hazır istersen skype umut6411
Örneğin bir argo kelime 'lan' adam 'yalan' yazarsa yine algılayacaktır skript ile engelleme programı yaparken her şeyi düşünmelisin.
 

Neferity

Taş Madencisi
En iyi cevaplar
0
lan argo kelime değildir
al oldumu birader
Konu Güncellendi
" Lan argo kelime değildir " peki.
Hayla anlamıyorsun;
- contains "küfür" => Oyuncu "k.üfür" yazsa bile algılar.("k.üfü" yazarsa algılamaz galiba) Fakat oyuncu normal konuşurken bile engelleyebilir. 'message contains " lan "' yaparsan bu kezde birleşik yazarak küfür engelleme sisteminden kurtulur.
 

Umut Savas

Ne demek yanlış? Ben mi?
En iyi cevaplar
0
" Lan argo kelime değildir " peki.
Hayla anlamıyorsun;
- contains "küfür" => Oyuncu "k.üfür" yazsa bile algılar.("k.üfü" yazarsa algılamaz galiba) Fakat oyuncu normal konuşurken bile engelleyebilir. 'message contains " lan "' yaparsan bu kezde birleşik yazarak küfür engelleme sisteminden kurtulur.
bu arada contains "küfür" yazar isen k.üfür engellemez skript bilgisi olmadan yorum atmayalım.
 
Üst