IRC Admin Script [SSCANF][Best Script]v1.3 -
NoahF - 26.12.2012
Hey guys, this is my newest creation/release.
This FilterScript is a
personalized,
expandable/
working IRC Administrator script.
It basically is an
admin system that can send commands
in-game from
IRC.
COMMANDS:
(You can type !cmds on IRC for the full list of commands.)
Код:
!players, !rcon, !fu, !oban, !aban, !mban, !okick, !akick, !mkick, !sosay, !sasay, !smsay, !osay, !asay, !msay, !say, !slap, !warn, !freeze, !unfreeze, !explode, !disarm, !resetcash, !giveallcash, !getname, !forums, !spawn, !fuck, !getinfo, !givecar, !allowweaps, !nametagson, !nametagsoff, !disallowweaps
I'll now give an
explanation for a few specific commands.
!oban <playerid> <reason> will ban the specified player. (For Owners on IRC only. (+q))
!aban <playerid> <reason> will ban the specified player. (For Ops on IRC only. (+o))
!mban <playerid> <reason> will ban the specified player. (For Voice on IRC only. (+v))
!okick <playerid> <reason> will kick the specified player. (For Owner on IRC only. (+q))
!akick <playerid> <reason> will kick the specified player. (For Ops on IRC only. (+o))
!mkick <playerid> <reason> will kick the specified player. (For Voice on IRC only. (+v))
!sosay <msg> will send a message to the SA-MP Server as an anonymous owner. (For Owners on IRC only. (+q))
!sasay <msg> will send a message to the SA-MP Server as an anonymous admin. (For Ops on IRC only. (+o))
!smsay <msg> will send a message to the SA-MP Server as an anonymous moderator. (For Voice on IRC only. (+v))
!osay <msg> will send a message to the SA-MP Server as an owner. (For Owner on IRC only. (+q))
!asay <msg> will send a message to the SA-MP Server as an admin. (For Ops on IRC only. (+o))
!msay <msg> will send a message to the SA-MP Server as a moderator. (For Voice on IRC only. (+v))
!forums will send a message on IRC and to the SA-MP Server with the link of your forums. (For Voice on IRC only. (+v))
The rest of the commands are pretty self explanatory, so I'm not going to explain them.
ATTENTION: If you type for example on IRC "!explode" and it doesn't say anything, you must type "!explode <ID>"!
Currently, this admin script is the
most up-to-date, best-working and non-bugged script. Please post your
feedback of it in the
comments, and remember to
EDIT THE SCRIPT TO YOUR NEEDS.
DOWNLOAD:
Pastebin:
http://pastebin.com/ZceY6fXm
Mediafire:
http://www.mediafire.com/?3765r2e9l81dy14
EDIT:
V1.1: Added a !respawncars command due to request.
EDIT 2:
V1.2: Added a !givecar command and updated credits. Also added helpful comments in the script.
CREDITS:
NoahF for the script
****** for SSCANF
Incognito for the IRC plugin
SA-MP Team for SA-MP
Please do not sell, or release this without my written permission.
You may edit this script and change it however you like, but keep the credits please.
*NOTE* This script has been tested fully and it works perfectly.
Re: IRC Admin Script [SSCANF][Best Script] -
rbush12 - 26.12.2012
Nice Work
Re: IRC Admin Script [SSCANF][Best Script] -
Lordzy - 26.12.2012
Nice work.
Re: IRC Admin Script [SSCANF][Best Script] -
NoahF - 26.12.2012
Thanks guys! +Thanks Nor15!
Re: IRC Admin Script [SSCANF][Best Script] -
nor15 - 26.12.2012
Nice script (:
Re: IRC Admin Script [SSCANF][Best Script] -
The_Asker - 26.12.2012
Bro Nice work
I have it but I will update my version asap.
Re: IRC Admin Script [SSCANF][Best Script] -
NoahF - 26.12.2012
Yeah, thanks bro.
Re : IRC Admin Script [SSCANF][Best Script] -
Rayan_black - 26.12.2012
Good work bro.
Re: IRC Admin Script [SSCANF][Best Script] -
NoahF - 26.12.2012
Thanks.
Re: IRC Admin Script [SSCANF][Best Script] -
MrTransport - 11.02.2013
awesome keep it up please
Re: IRC Admin Script [SSCANF][Best Script] -
MrTransport - 11.02.2013
can you make in it unban system please and how rcon sys work ?
Re: IRC Admin Script [SSCANF][Best Script] -
mgd - 22.02.2013
C:\Users\\Downloads\0.3x\0.3x\pawno\mots.pwn(42) : error 017: undefined symbol "IRC_SetIntData"
C:\Users\\Downloads\0.3x\0.3x\pawno\mots.pwn(46) : error 017: undefined symbol "IRC_SetIntData"
C:\Users\\Downloads\0.3x\0.3x\pawno\mots.pwn(177) : error 025: function heading differs from prototype
C:\Users\\Downloads\0.3x\0.3x\pawno\mots.pwn(193) : error 025: function heading differs from prototype
C:\Users\\Downloads\0.3x\0.3x\pawno\mots.pwn(206) : warning 235: public function lacks forward declaration (symbol "IRC_OnConnectAttempt")
C:\Users\\Downloads\0.3x\0.3x\pawno\mots.pwn(217) : warning 235: public function lacks forward declaration (symbol "IRC_OnConnectAttemptFail")
C:\Users\\Downloads\0.3x\0.3x\pawno\mots.pwn(247) : warning 235: public function lacks forward declaration (symbol "IRC_OnInvitedToChannel")
C:\Users\\Downloads\0.3x\0.3x\pawno\mots.pwn(261) : warning 235: public function lacks forward declaration (symbol "IRC_OnKickedFromChannel")
C:\Users\\Downloads\0.3x\0.3x\pawno\mots.pwn(286) : warning 235: public function lacks forward declaration (symbol "IRC_OnUserKickedFromChannel")
C:\Users\\Downloads\0.3x\0.3x\pawno\mots.pwn(331) : warning 235: public function lacks forward declaration (symbol "IRC_OnUserRequestCTCP")
C:\Users\\Downloads\0.3x\0.3x\pawno\mots.pwn(337) : error 017: undefined symbol "IRC_ReplyCTCP"
C:\Users\\Downloads\0.3x\0.3x\pawno\mots.pwn(342) : warning 235: public function lacks forward declaration (symbol "IRC_OnUserReplyCTCP")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
Re: IRC Admin Script [SSCANF][Best Script] -
Revo - 22.02.2013
pawn Код:
new string[18];
new string2[230];
new string3[80];
format(string, sizeof(string), "IRC COMMANDS:");
format(string2, sizeof(string2), "!players, !rcon, !fu, !oban, !aban, !mban, !okick, !akick, !mkick, !sosay, !sasay, !smsay, !osay, !asay, !msay, !say, !slap, !warn, !freeze, !unfreeze, !explode, !disarm, !resetcash, !giveallcash, !getname, !forums");
format(string3, sizeof(string3), "!spawn, !fuck, !getinfo, !givecar");
IRC_Say(botid, channel, string);
IRC_Say(botid, channel, string2);
IRC_Say(botid, channel, string3);
pawn Код:
IRCCMD:forums
(botid, channel
[], user
[], host
[], params
[]){ new string29
[128];
new string30
[128];
if (IRC_IsVoice
(botid, channel, user
)) { format(string29,
128,
"Sign up at our forums today! http://www.teamzl.forumotion.com");
//change this to your forums format(string30,
128,
"Sign up at our forums today! http://www.teamzl.forumotion.com");
//Change to your forums IRC_GroupSay
(groupID, channel, string29
);
SendClientMessageToAll
(0x00E800C8, string30
);
} return 1;
}
* Revo cries
Someone should take a course for code optimization!
(
Re: IRC Admin Script [SSCANF][Best Script] -
NoahF - 09.03.2013
UPDATED TO V1.3
Re: IRC Admin Script [SSCANF][Best Script] -
freddy smyth - 09.03.2013
What's in the new version? It doesn't say.
Re: IRC Admin Script [SSCANF][Best Script] -
NoahF - 10.03.2013
I added some helpful/useful new commands.
Re: IRC Admin Script [SSCANF][Best Script] -
Anak - 10.03.2013
can i add this irc script in my admin system? i will give your credits....
Re: IRC Admin Script [SSCANF][Best Script] -
NoahF - 10.03.2013
Yes you may but give credit.
Re: IRC Admin Script [SSCANF][Best Script] -
coool - 19.03.2013
can't work
[16:29:25] Error: Function not registered: 'IRC_SetIntData'
[16:29:25] Error: Function not registered: 'IRC_ReplyCTCP'
Re: IRC Admin Script [SSCANF][Best Script] -
Joksa - 22.03.2013
Nice Work

_____________________________________
My Work:
[FilterScript] + [MAP] Admin Island 0.3x by Joksa
[FilterScript] + [MAP] LSPD by Joksa
LSPD Gate for Beginners