Whois den idleyi kaldirmak

emertcan

New member
Katılım
6 Şub 2006
Mesajlar
1,290
Reaction score
0
Puanları
0
Konum
Kadıköy Cehennemi...!
Whois den idleyi kaldirmak
Kod:
/*
* Fix /whois to not show idle times of
* global opers to anyone except another
* global oper or services.
* -CodeM/Barubary
*/
if (MyConnect(acptr))
sendto_one(sptr, rpl_str(RPL_WHOISIDLE),
me.name, parv[0], name,
TStime() - acptr->last, acptr->firsttime);
}
if (!found)
sendto_one(sptr, err_str(ERR_NOSUCHNICK),
me.name, parv[0], nick);
if (p)
p[-1] = ',';
}
sendto_one(sptr, rpl_str(RPL_ENDOFWHOIS), me.name, parv[0], parv[1]);

return 0;
}
cd Unreal3.2
cd src
cd modules
pico m_whois.c

Yukarıdaki Satırları Bul En Altta Zaten...

Şu hale getir:


Kod:
/*
* Fix /whois to not show idle times of
* global opers to anyone except another
* global oper or services.
* -CodeM/Barubary
*/
if (IsAnOper(sptr)) {
if (MyConnect(acptr))
sendto_one(sptr, rpl_str(RPL_WHOISIDLE),
me.name, parv[0], name,
TStime() - acptr->last, acptr->firsttime);
}
}
if (!found)
sendto_one(sptr, err_str(ERR_NOSUCHNICK),
me.name, parv[0], nick);
if (p)
p[-1] = ',';
}
sendto_one(sptr, rpl_str(RPL_ENDOFWHOIS), me.name, parv[0], parv[1]);

return 0;
}
Çalışacaktır. Dikkat Edin biraz Karışık oldu Çünkü...

iyi Çalışmalar...
 
Admin vb.'de gözükmüyor ama

/whois Nick Nick yaparsan goruyorsun =)
mesela Admin nicki asdf ise,
/whois asdf asdf
yapınca çıkıyor idle :goz:
 
IRC cok sevdigim bir alandir :p Komut bilgim var az-cok =)
 
iyide canım benim nereye yazıcaz bunu?
 
Geri
Üst