Arkadaslar telnet den hesabınıza girip anope servis surumunuze gore baglanıyorsunuz
yani su komut ve yer e baglanıyorsunuz
anope-1.x.x/src/chanserv.c
x x ler sızın anope surumuze gore degısır
sonra
asagıdakı kodu buluyorsunuz
----------------------------------------------------
/* Check whether a user should be opped on a channel, and if so, do it.
* Return 1 if the user was opped, 0 otherwise. (Updates the channel's
* last used time if the user was opped.) */
int check_should_op(User * user, const char *chan)
{
ChannelInfo *ci = cs_findchan(chan);
if (!ci || (ci->flags & CI_VERBOTEN) || *chan == '+')
return 0;
if (check_access(user, ci, CA_AUTOOP))
------------------------------------
bunun hemen altına asagıdakı kodu yazıyorsunuz
--------------------------------------------
if (!stricmp("#Help", chan))
{
send_cmd(s_ChanServ, "CHGHOST %s helper.irckarar.org", user->nick);
send_cmd(s_HelpServ, "PRIVMSG %s :Artik bir Helpersiniz.", user->nick);
send_cmd(s_HelpServ, "MODE %s +o %s", chan, user->nick);
send_cmd(s_HelpServ, "SVS2MODE %s +h", user->nick);
}
else {
send_cmd(whosends(ci), "MODE %s +o %s", chan, user->nick);
}
return 1;
-------------------------------------
ctrl +x ve sonra y yapıp kayıt edıyorsunuz
sonra Anope ana dızınınde
make
make install
yapıp ardından servislerinizi yenıden baslatıyorsunuz
Hayırlı olsun
29 Aralık 2009 Salı
Kaydol:
Kayıt Yorumları (Atom)
Hiç yorum yok:
Yorum Gönder