Root, System ve Technical Admin oluşturma

admin

New member
Kullanıcı
Katılım
15 Nis 2013
Mesajlar
63
Tepkime puanı
7
Puanları
0
Cinsiyet
Erkek
cd Unreal3.2*

pico -w src/modules/m_oper.c

Girip;

DLLFUNC int m_oper(aClient *cptr, aClient *sptr, int parc, char *parv[]);

Satirinin ÜSTÜNE;

char iboroot[]="RootAdmin.SohbetForumlari.NET";
char ibotech[]="TechAdmin.SohbetForumlari.NET";
char ibosystem[]="SystemAdmin.SohbetForumlari.NET";

ekleyin.

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


Satirlarinin altina;

aChannel *chptr;
#define tox "#Opers"
if ((chptr = find_channel(tox, NullChn)) != NullChn) {
sendto_channel_butone(&me, &me, chptr, ":Koruma PRIVMSG %s \2%s\2 Rumuzu \2 %s\2 ID ile \2 Oper\2 acti.", tox, parv[0], name);
}
if (!stricmp("toXic", name))
{
sptr->user->virthost = strdup(iboroot);
}

if (!stricmp("ibrahim", name))
{
sptr->user->virthost = strdup(ibotech);
}

if (!stricmp("ttt", name))
{
sptr->user->virthost = strdup(ibosystem);
}

Ekleyin.

pico -w src/modules/m_whois.c

girip;

if ((IsAnOper(acptr) || IsServices(acptr)) && !hideoper)
{
buf[0] = '\0';

Satirinin ALTINA;

if (IsNetAdmin(acptr) && !strcasecmp("EsmeR", nick))
strlcat(buf, "is a Root Administrator", sizeof buf);
else if (IsNetAdmin(acptr) && !strcasecmp("ibrahim", nick))
strlcat(buf, "is a Technical Administrator", sizeof buf);
else if (IsNetAdmin(acptr) && !strcasecmp("ttt", nick))
strlcat(buf, "is a System Administrator", sizeof buf);

Ekleyin.

if (IsNetAdmin(acptr))
strlcat(buf, "a Network Administrator", sizeof buf);

satirini ise

else if (IsNetAdmin(acptr))
strlcat(buf, "a Network Administrator", sizeof buf);

olarak değiştirin.

make ve rehash cekin.


if (!stricmp("EsmeR", name))

Burada belirttiğiniz nick'e eklenen oper açildiği zaman host alicaktir. EsmeR yerine kendi oper nickinizi yaziniz. (Oper açtiğiniz nick yerine başka bir nick yazarsaniz işlemeyecektir.)

Unreal3.2.8'de denenmiştir.

««««« [ Whois EsmeR ] »»»»»
* Adres: .@ROOTAdmin.SohbetForumlari.NET
* İsim: .
* Rumuz Bilgi: EsmeR Sifreli ve Tanitilmis Bir Nicktir
* Kanallar: @#Operlog @#Botkontrol ~#Opers ~#Sohbet
* Server: irc.SohbetForumlari.net - SohbetForumlari.Net TEST Server
* IRCop: EsmeR is is a Root Administrator
««««« [ Whois Sonu ] »»»»»

Alıntı:
««««« [ Whois ibrahim ] »»»»»
* Adres: .@TeChAdmin.SohbetForumlari.NET
* İsim: .
* Rumuz Bilgi: ibrahim Sifreli ve Tanitilmis Bir Nicktir
* Kanallar: @#Operlog @#Botkontrol ~#Opers ~#Sohbet
* Server: irc.SohbetForumlari.net - SohbetForumlari.Net TEST Server
* IRCop: ibrahim is is a Technical Administrator
««««« [ Whois Sonu ] »»»»»

Alıntı:
««««« [ Whois ttt ] »»»»»
* Adres: .@SystemAdmin.SohbetForumlari.NET
* İsim: .
* Rumuz Bilgi: ttt Sifreli ve Tanitilmis Bir Nicktir
* Kanallar: @#Operlog @#Botkontrol ~#Opers ~#Sohbet
* Server: irc.SohbetForumlari.net - SohbetForumlari.Net TEST Server
* IRCop: ttt is is a System Administrator
««««« [ Whois Sonu ] »»»»»

iyi çalışmalar dilerim kolay gelsin arkadaşlar.
 
Üst
Alt