SA-MP Forums Archive
[FilterScript] NamerX v1.0 [IRC SYSTEM, dcmd Commands, Teles] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] NamerX v1.0 [IRC SYSTEM, dcmd Commands, Teles] (/showthread.php?tid=457421)



NamerX v1.0 [IRC SYSTEM, AdminSystem,LottoSystem,RandomMsg System, Teles] - JeaSon - 11.08.2013

NamerX v1.2 FS
Updated to v1.2

Hello samp forum this is my first filterscirpt i learned script and i finally want to share my first scirpt
you can use this as urs

FEATURES
Random Message
Lotto system
Admin System
Login/register system
Weapon Menu
IRC system
KillingSpree System


Commands v1.0
Код:
Teles
/gals
/gr4
/ga
/gr5
/galv
/gg
/hotted
/medics
/namer
/drift4
/gr2
/gc
/snackpack
/boss
/paint
/vph
/convex
/gs6
/gs5
/gads

Admin Commands
/clearchat
/sethealth
/setarmour
/setskin
/setscore
/goto
/get
/ban
/kick
/freeze
/unfreeze
/mute
/unmute
/akill
/blow
/an
/setlevel
/setvip
/acar
/abike
/aplane
/aheli
/aboat
/rac

Код:
DM PLACE
/mg3

Код:
Normal Commands
/spray
/f
/vehicle
/www
/fix
/rh [ONLY RCON CAN USE THIS]
/red
/reporthelp
/kill
/healme
/infernus
/dv
/m4


new
/pm
/stats
/teles
/cmds
/commands
/vcmds
/acmds



IRC System Commands

!say
!admin
!kick
!ban
!rcon

new irc commands

!getname
!forum
!freeze
!unfreeze
!getinfo
!announce/!ann
!pm
!fix
!flip
!repair
!giveallcash
!resetcash
!spawn
!respawncars
!disarm
!slap
!warn
!givecar
!vip
!rules
!help
!credits



IRC Bot Connect
if you want to connect ur bot into ur channel put ur irc channel in "IRC_CHANNEL"

pawn Код:
public IRC_OnConnect(botid, ip[], port)
{
    printf("*** IRC_OnConnect: Bot ID %d connected to %s:%d", botid, ip, port);
    // Join the channel
    IRC_JoinChannel(botid, IRC_CHANNEL);
    // Add the bot to the group
    IRC_AddToGroup(groupID, botid);
    return 1;
}
change this from script and put ur website

Код:
www.mg-bg.forumotion.com
DOWNLOAD



will try to make more commands

any suggestion and bug found from script post it here

this is simple


Re: NamerX v1.0 [IRC SYSTEM, dcmd Commands, Teles] - kingofdemons - 11.08.2013

Nice work
How about a /pm command? or a /tempban command(if possible).


Re: NamerX v1.0 [IRC SYSTEM, dcmd Commands, Teles] - JeaSon - 11.08.2013

will try

ty for comment

link posted


Re: NamerX v1.0 [IRC SYSTEM, dcmd Commands, Teles] - DeathFire - 11.08.2013

Nice one man


Re: NamerX v1.0 [IRC SYSTEM, dcmd Commands, Teles] - JeaSon - 11.08.2013

Quote:
Originally Posted by DeathFire
Посмотреть сообщение
Nice one man

ty very much


Re: NamerX v1.0 [IRC SYSTEM, dcmd Commands, Teles] - BlackHorse - 11.08.2013

Good like it man


Re: NamerX v1.0 [IRC SYSTEM, dcmd Commands, Teles] - JeaSon - 12.08.2013

Updated


Re: NamerX v1.0 [IRC SYSTEM, dcmd Commands, Teles] - Xoomer - 12.08.2013

well prety good work +rep


Re: NamerX v1.0 [IRC SYSTEM, dcmd Commands, Teles] - NinjahZ - 12.08.2013

Nice script,I had a look,it looks nice but to be more thorough in the advert stock you should have all of them
like this.

pawn Код:
stock AdvertisementCheck(string[])
{
    if(string[0])
    {
        if(!strfind(string,"www.",false) || !strfind(string,"http://",false)
        || !strfind(string,".com",false) || !strfind(string,".net",false)
        || !strfind(string,".de",false)  || !strfind(string,".org",false))
        || !strfind(string,".co.tk",false)  || !strfind(string,".webs.com",false))
        || !strfind(string,".co.ru",false)  || !strfind(string,".ru",false))
        || !strfind(string,".co.uk",false)  || !strfind(string,".co.nz",false))
        || !strfind(string,":7777",false)  || !strfind(string,":7780",false))
        || !strfind(string,"samp.",false)  || !strfind(string,"samp.",false))
       
        return true;

        new c=1,idx,tmp[32],ip[4];
        for(new i=0;i<strlen(string);i++)
        if(string[i]==' ')
        c++;

        for(new i=0;i<c;i++)
        {
            idx=0;
            tmp = L_strtok(string,idx);
            idx=0;
            tmp = L_strtok(tmp,idx,':');
            ip=SplitIP(tmp);
            if(ip[0] && ip[1] && ip[2] && ip[3])
            return true;
        }
    }
    return false;
}
The most common port used is :7777 or :7780 so I have noticed
and samp. is also the start to alot of ip's aswell ^_^ just to make sure
no one is adverting :P
I know people could just add that in themselves,but they don't and then wonder why Russian's are able to advertise on their server :P


Re: NamerX v1.0 [IRC SYSTEM, dcmd Commands, Teles] - JeaSon - 12.08.2013

Quote:
Originally Posted by NinjahZ
Посмотреть сообщение
Nice script,I had a look,it looks nice but to be more thorough in the advert stock you should have all of them
like this.

pawn Код:
stock AdvertisementCheck(string[])
{
    if(string[0])
    {
        if(!strfind(string,"www.",false) || !strfind(string,"http://",false)
        || !strfind(string,".com",false) || !strfind(string,".net",false)
        || !strfind(string,".de",false)  || !strfind(string,".org",false))
        || !strfind(string,".co.tk",false)  || !strfind(string,".webs.com",false))
        || !strfind(string,".co.ru",false)  || !strfind(string,".ru",false))
        || !strfind(string,".co.uk",false)  || !strfind(string,".co.nz",false))
        || !strfind(string,":7777",false)  || !strfind(string,":7780",false))
        || !strfind(string,"samp.",false)  || !strfind(string,"samp.",false))
       
        return true;

        new c=1,idx,tmp[32],ip[4];
        for(new i=0;i<strlen(string);i++)
        if(string[i]==' ')
        c++;

        for(new i=0;i<c;i++)
        {
            idx=0;
            tmp = L_strtok(string,idx);
            idx=0;
            tmp = L_strtok(tmp,idx,':');
            ip=SplitIP(tmp);
            if(ip[0] && ip[1] && ip[2] && ip[3])
            return true;
        }
    }
    return false;
}
The most common port used is :7777 or :7780 so I have noticed
and samp. is also the start to alot of ip's aswell ^_^ just to make sure
no one is adverting :P
I know people could just add that in themselves,but they don't and then wonder why Russian's are able to advertise on their server :P
ty very much for suggestion me