lookjapan.COM - IRC ve mIRC dünyasının forumu!

lookjapan.COM - IRC ve mIRC dünyasının forumu! (http://www.lookjapan.com/index.php)
-   Unreal - Parça Kodlar (http://www.lookjapan.com/forumdisplay.php?f=62)
-   -   Otomatik oper nicke geçiş yapma. (http://www.lookjapan.com/showthread.php?t=1619)

Entrance 24 Temmuz 2015 11:14

Otomatik oper nicke geçiş yapma.
 
* Bu uyglamanın amacı /OPER NICK SIFRE komutunu uyguladığınızda, otomatik olarak oper nick'e geçiş yapmanızı sağlamak.
Klasör: -> Unreal3.2*/src/modules/
Dosya:-> (m_oper.c)

BULUN
,
Kod:

if (announce != NULL)
            sendto_snomask_global(SNO_OPER,
                "%s (%s@%s) [%s] %s",
                parv[0], sptr->user->username, sptr->sockhost,
                parv[1], announce);



ALTINA
,
Kod:

if (stricmp(parv[1],"EggdropMuafOperNick") && stricmp(parv[1],"EggdropMuafOperNick2"))
if (strcasecmp(parv[0],parv[1])) {
char opernick[NICKLEN];
char *ent[3];
snprintf(opernick, NICKLEN, "%s", parv[1]);
ent[0] = parv[0];
ent[1] = opernick;
ent[2] = NULL;
do_cmd(sptr, sptr, "NICK", 2, ent);
}

EKLEYIN, unrealircd'in ana dizininde make ve ./unreal rehash komutlarını uygulayın.

İyi forumlar .. ^^


All times are GMT +3. The time now is 02:43.

Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.