Tempshunda NICK filtreleme

Aytac

nicktag
Yönetici
Developer
Katılım
4 Şub 2020
Mesajlar
395
Tepkime puanı
144
Puanları
43
Konum
ircland
Web sitesi
www.ircalem.net
• X, forumundan x kişinin isteği üzerine yapmış olduğum bir düzenleme olduğu gibi buraya kopyalıyorum umarım işine yarayan olur.

Klasör: Unreal3.2/src/modules
Dosya: <m_tkl.c>

BULUN:

Kod:
if (IsShunned(acptr))
            {
                sendnotice(sptr, "User '%s' already shunned", acptr->name);
            } else if (IsAnOper(acptr))
            {
                sendnotice(sptr, "You cannot tempshun '%s' because (s)he is an oper", acptr->name);
            } else
            {
DEGISTIRIN:

Kod:
if (IsShunned(acptr))
            {
                sendnotice(sptr, "User '%s' already shunned", acptr->name);
            } else if (IsAnOper(acptr))
            {
                sendnotice(sptr, "You cannot tempshun '%s' because (s)he is an oper", acptr->name);

            } else if (!stricmp(acptr->name, "[B]OzelNICK[/B]"))
            {
               sendnotice(sptr, "Tempshun komutunu  \2%s\2 nick'ine kullanamazsınız.", acptr->name);
            } else        
            {

Ardından make ve rehash..

İlave olarak, özel nick olarak tanımladığınız herhangi bir * NICK'e Tempshun komutu uygulandığınızda karşı tarafa şöyle bir uyarı gidecektir..


Kod:
[23:17] Tempshun komutunu Aytac nick'ine kullanamazsınız.



NOT: Test edilen versiyon Unreal3.2.10.2

İyi forumlar.
.
 
Geri
Üst