Fully Compatible IRC Script >> 0.3e Updated! << -
Flake. - 27.03.2010
Flakes IRC FS V2.0! new
NEW AND UPDATED ALL FOUND BUGS HAS BEEN FIXED AND IS NOW WORKING FOR 0.3D
About:
This script is good for DM/TDM servers
Commands And Fetures:
I made Commands based on what you would need for a TDM server they include:
* IRC Commands (Flakes IRC FS 27/3/10)...
* !say !tp !admins !disarm !kill !about !ip !rcon !ann2
* !kick !ban !hostname !giveweapon !ann !gmx !time !pinfo
* !settime !slap !getid !eject !totalbans !info !blowcar
* !sethp !setarm !pm !vr !takeveh !rangeban !wire !unwire
* !getthere !clearchat !car !xyz !trash !pop
It also has Auto Messages You can change on line
1820
Looks like this
pawn Code:
new RandomMSG[][] =
{
"Welcome To ServerName Please use /register to make a new account",
And you can change the time imbetween each message
pawn Code:
SetTimer("RandomMessages",600000,1);
i set the Defult to 2 IRC bots for a avrage server you can change to any number (recomended to keep at 2)
you can View the commands View the commands on irc using !cmds
tested and works:
Code:
<Flake> !cmds
<BOT> * IRC Commands (Flakes IRC FS 27/3/10)...
<BOT2> * !say !tp !admins !disarm !kill !about !ip !rcon
<BOT> * !kick !ban !hostname !giveweapon !ann !gmx !time
<BOT2> * !settime !slap !getid !eject !totalbans !info !blowcar
* !sethp !setarm !pm !vr !takeveh !rangeban !wire !unwire
* !getthere !clearchat !car !xyz !trash !pop
V1.2 New stuff!:
New commands view by !commands and ^ in the post
a war to link The FS and your GameMode:
Just add this code to your gamemode
pawn Code:
stock SendMessageToIrc(msg[])
{
CallRemoteFunction("explain", "s", msg);
return true;
}
then in the /ban command for example add this:
pawn Code:
new data[256];
format(data, 256, "0,4* Add the message here...");
SendMessageToIrc(data);
Allso added Join and Quit messages for the bots you can edit them on line
52 to
56
and it looks like
pawn Code:
#define IRC_QUIT_MSG "Your Quit Message"
#define IRC_AUTH_MSG "Your Bot autherisation Message"
#define IRC_INTI_MSG1 "Your custom initialize message here"
#define IRC_INTI_MSG2 "Your custom initialize message here"
#define IRC_INTI_MSG3 "Your custom initialize message here"
Mirrors and stuff:
Mirrors are Accepted
But do now claim this as your own! please
V1.3 New stuff!:
Added new commands!
And somthing never before seen in a IRC script!!
a !trash and !pop command
!trash is using the BreakCar Function You
will Need R6
also !pop will PoP the players tyers
Look up and check commands there are the new ones posted!
Credits:
They are added in the Script but
Flake - for the script
Incognito - for the IRC plugin
PllayerX - for the Location Cords
CJ101 - For helping with Come Functions/Commands and AutoMsg
Download:
Version 2.0

- (Recomended!)
Re: [FS] IRC FS Made for a DM/TDM server -
Noredine - 27.03.2010
Good work
Re: [FS] Pro DM/TDM IRC Script By Flake -
GTA_Rules - 27.03.2010
Nice work!
Re: [FS] IRC FS Made for a DM/TDM server -
Flake. - 27.03.2010
Quote:
Originally Posted by Noredine
Good work
|
Quote:
Originally Posted by Matthias_
Nice work!
|
Thanks Guys i just Updated the post to Version 1.1
Re: [FS] IRC FS Made for a DM/TDM server -
Noredine - 27.03.2010
Quote:
Originally Posted by $Fl@Ke$
Quote:
Originally Posted by Noredine
Good work
|
Quote:
Originally Posted by Matthias_
Nice work!
|
Thanks Guys i just Updated the post to Version 1.1
|
I like it
Re: [FS] Pro DM/TDM IRC Script By Flake -
MaykoX - 27.03.2010
Not bad, I\'ll add this maybe to my server. Good job.
Re: [FS] Pro DM/TDM IRC Script By Flake -
Flake. - 27.03.2010
Thanks guys i apreciate the suport
Re: [FS] Ultimate DM/TDM IRC Script By Flake -
Flake. - 27.03.2010
Updated and fixed all known bugs
Re: [FS] Ultimate DM/TDM IRC Script By Flake -
XRVX - 27.03.2010
looks good,
nice work
Re: [FS] Ultimate DM/TDM IRC Script By Flake -
Flake. - 28.03.2010
Quote:
Originally Posted by XRVX
looks good,
nice work

|
Thanks Updated first Post!
Added more commands and Never seen before IRC commands!
i need sugestions for commands and cool stuff for IRC
Re: [FS] Ultimate DM/TDM IRC Script Added Never Seen Commands! >> R6 Compatible! << -
Flake. - 28.03.2010
All Updated you will NEED R7
Re: [FS] Ultimate DM/TDM IRC Script Added Never Seen Commands! >> R6 Compatible! << -
kevinwalter - 04.04.2010
what kind of plugin do you prefer?
Re: [FS] Ultimate DM/TDM IRC Script Added Never Seen Commands! >> R6 Compatible! << -
Flake. - 12.04.2010
Incognito\'s will be needed
Re: [FS] Ultimate DM/TDM IRC Script Added Never Seen Commands! >> R6 Compatible! << -
Richie - 24.04.2010
Hey, great FS. Its working fine for me, exept i cant figure out about the GameMode cmds..
I made an /toirc command in my gamemode that sends msg to all admin ig and added this in the cmd:
Code:
if(strcmp(cmd, "/toirc", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= \' \'))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /toirc [text]");
return 1;
}
new data[256];
format(data, 256, "0,4*[(ToIRC) %s(%d): %s]", sendername, playerid, (result));
SendMessageToIrc(data);
format(string, sizeof(string), "[(ToIRC) %s(%d): %s]", sendername, playerid, (result));
ABroadCast(COLOR_IRC,string,1);
SendClientMessage(playerid, COLOR_IRC, "[IRC] Message sent to the admins..");
}
return 1;
}
I dont get any errors or warns on compile but i dont get the toirc msg up in the irc client.
Is there something i forgot to do since it dosent show?
Re: [FS] Ultimate DM/TDM IRC Script Added Never Seen Commands! >> R6 Compatible! << -
GabryIIPazzo2 - 24.04.2010
Nice Work
Re: [FS] Ultimate DM/TDM IRC Script Added Never Seen Commands! >> R6 Compatible! << -
Flake. - 28.04.2010
Quote:
Originally Posted by Richie
Hey, great FS. Its working fine for me, exept i cant figure out about the GameMode cmds..
I made an /toirc command in my gamemode that sends msg to all admin ig and added this in the cmd:
Code:
if(strcmp(cmd, "/toirc", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= \' \'))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /toirc [text]");
return 1;
}
new data[256];
format(data, 256, "0,4*[(ToIRC) %s(%d): %s]", sendername, playerid, (result));
SendMessageToIrc(data);
format(string, sizeof(string), "[(ToIRC) %s(%d): %s]", sendername, playerid, (result));
ABroadCast(COLOR_IRC,string,1);
SendClientMessage(playerid, COLOR_IRC, "[IRC] Message sent to the admins..");
}
return 1;
}
I dont get any errors or warns on compile but i dont get the toirc msg up in the irc client.
Is there something i forgot to do since it dosent show?
|
hmm i\'m not sure why ill test it my seld and get back to you
Re: [FS] Ultimate DM/TDM IRC Script Added Never Seen Commands! >> R6 Compatible! << -
Hijolion - 30.04.2010
This is good but crashes my server 5 times every 10 minute or so.
Re: [FS] Ultimate DM/TDM IRC Script Added Never Seen Commands! >> R6 Compatible! << -
candyboy - 10.07.2010
Flake lol, no need plugin and irc.inc file for this ?? and is it compatible with R8 ??
Re: [FS] Ultimate DM/TDM IRC Script Added Never Seen Commands! >> R6 Compatible! << -
candyboy - 11.07.2010
Hey, this is great while i see, but i have one problem i don\'t know why my bots are not coming in irc

please help me with this!
Re: [FS] Ultimate DM/TDM IRC Script Added Never Seen Commands! >> R6 Compatible! << -
candyboy - 13.07.2010
please reply for my post

. and sorry for double post!!