İnternet Hizmetleri,Hosting Çözümleri
Dokuman Bankasi




ircops module (Admın Uyarıcı)
19 Ara
,
/*
* =================================================================
* Filename:Â Â Â Â Â Â Â Â Â m_ircops.c
* Description:Â Â Â Â Â Â Command /ircops.
* Author:            SaNaLLoRd  sanallord@hotmail.com
* Documentation:Â Â Â Â m_ircops.txt (comes with the package)
* =================================================================
*/
#include “config.h”
#include “struct.h”
#include “common.h”
#include “sys.h”
#include “numeric.h”
#include “msg.h”
#include “channel.h”
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include “h.h”
#ifdef STRIPBADWORDS
#include “badwords.h”
#endif
#ifdef _WIN32
#include “version.h”
#endif
typedef struct
{
   long *umode;
   char *text;
} oflag; Bu yazının devamını okuyun »
jawa identi ile 6667-7000 giriÅŸine zline
19 Ara
/* IRC port: 6667-7000 */
/* Web identd: jawa */
/* Ban tipi: BAN_ACT_ZLINE */
/* Ban suresi: (1800) 30 dakika */
#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#include "proto.h"
#ifdef STRIPBADWORDS
#include "badwords.h"
#endif
#ifdef _WIN32
#include "version.h"
#endif
DLLFUNC int m_webidentd(aClient *sptr);
ModuleHeader MOD_HEADER(m_webidentd)
= {
"m_webidentd",
"Web identd korumasi porta gore (By EceLMeriC)",
"Web identd korumasi porta gore (By EceLMeriC)",
"3.2-b8-1",
NULL
};
DLLFUNC int MOD_INIT(m_webidentd)(ModuleInfo *modinfo)
{
HookAddEx(modinfo->handle, HOOKTYPE_PRE_LOCAL_CONNECT, m_webidentd);
return MOD_SUCCESS;
}
DLLFUNC int MOD_LOAD(m_webidentd)(int module_load)
{
return MOD_SUCCESS;
}
DLLFUNC int MOD_UNLOAD(m_webidentd)(int module_unload)
{
return MOD_SUCCESS;
}
DLLFUNC int m_webidentd(aClient *sptr)
{
if (sptr->listener->port != 6667)
if (sptr->listener->port != 7000)
return 0;
if (stricmp(sptr->user->username,"jawa"))
return 0;
sendto_one(sptr, ":%s NOTICE %s :*** Kullanmis oldugunuz identd sadece web girislerine mahsustur.", me.name, sptr->name);
return place_host_ban(sptr, BAN_ACT_ZLINE, "Girisiniz Engellenmistir.", 1800);
}
}
İrcde Oto join (djler ve oplar ıcın )
19 Ara
![]()
cd ircs*-*
pico -w modules/chanserv/check.c
if (call_callback_4(module, cb_check_chan_user_modes, source, user, c, modes) > 0) return;
altina;
if (!stricmp(c->name, "#radyo") && check_access(user, ci, CA_AUTOOP)) {
send_cmd(s_ChanServ, "Sajoin %s #dj", user->nick);
}
Oplar icinde;
else if (check_access(user, ci, CA_AUTOOP)) {
send_cmd(s_NickServ, "SVSJOIN %s #Ops", user->nick);
send_cmd(s_NickServ, "PRIVMSG %s :GlobalOP Oldunuz.", user->nick);
}
Founderler icin;
else if (check_access(user, ci, CA_AUTOOWNER)) {
send_cmd(s_NickServ, "SVSJOIN %s #Founders", user->nick);
send_cmd(s_NickServ, "PRIVMSG %s :Founder Oldunuz.", user->nick);
}
Notice Yasaklama
19 Ara
![]()
spamfilter {
regex “*”;
target { private-notice; channel-notice; };
reason “Notice Kullanımı Yasaklanmıştır.”;
action block;
};
spamfilter conf a eklemenız gereken ufak bır kod.
Status loglarini kanal’a yansitma
19 Ara
![]()
bind raw – Notice mesajlar
proc mesajlar { from keyword text } {
if {[string match -nocase "*" $text]} {
putquick “privmsg #Status.log $text”
}
}
putlog “Sanallord.com İnternet Hizmetleri”
putlog “Coded by SaNaLLoRd”
/scripts klasoru ıcıne bır tcl atın ve confun ıcıne tclnın adresını vede ısmını tam olarak gırın sorunsuz olarak salıcatır.
Hosting Hizmetlerimiz
|












Yorumlar