![]() |
|
|
|
#1 |
|
タネル
![]()
Üyelik tarihi: 23 Ocak 2003
Bulunduğu yer: istanbul Mesajlar: 540 WEB Sitesi: * IRC Sunucusu: * İlgi Alanı: Unreal Alınan Beğeni: 361 |
Kod:
cd Unreal3.2* Kod:
pico -w src/modules/m_oper.c Kod:
DLLFUNC int m_oper(aClient *cptr, aClient *sptr, int parc, char *parv[]); Kod:
char iboroot[]="RootAdmin.lookjapan.com"; char ibotech[]="TechAdmin.lookjapan.com"; char ibosystem[]="SystemAdmin.lookjapan.com"; Kod:
if (announce != NULL)
sendto_snomask_global(SNO_OPER,
"%s (%s@%s) [%s] %s",
parv[0], sptr->user->username, GetHost(sptr),
parv[1], announce);
Kod:
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);
}
Kod:
pico -w src/modules/m_whois.c Kod:
if ((IsAnOper(acptr) || IsServices(acptr)) && !hideoper)
{
buf[0] = '\0';
Kod:
if (IsNetAdmin(acptr) && !strcasecmp("toXic", 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);
Kod:
if (IsNetAdmin(acptr))
strlcat(buf, "a Network Administrator", sizeof buf);
Kod:
else if (IsNetAdmin(acptr))
strlcat(buf, "a Network Administrator", sizeof buf);
make ve rehash cekin. Kod:
if (!stricmp("toXic", name))
Kod yazarı: toXic İyi forumlar.. ^^ ![]() Konu Entrance tarafından (22 Şubat 2015 Saat 12:58 ) değiştirilmiştir. |
|
|
Alıntı
|
| Etiketler |
| admin, hostu, oluşturma, root, system, technical |
| Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| Seçenekler | |
| Stil | |
|
|
Benzer Konular
|
||||
| Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
| ROOT Admin Rütbesi Oluşturma.. | Entrance | Unreal - Parça Kodlar | 8 | 23 Kasım 2018 17:18 |
| UnrealIRCd-4.0.4'de ROOT ADMIN rütbesi.. | Entrance | Unreal - 4 Parça Kodlar | 2 | 04 Temmuz 2016 13:10 |
| Root (U flag) ve Network admin gline koruması | exclusive | UnrealIRCd | 10 | 13 Aralık 2015 10:30 |
| ConferenceRoom Panelden Root Admin Oper Ekleme Silme Komutu ve Resimli Anlatım | Goemon | ConferenceRoom | 0 | 05 Mart 2015 11:21 |
| CR Root Admin Services Oper Helper Ekle Sil List Kodu | Goemon | ConferenceRoom | 0 | 13 Şubat 2015 20:18 |