[FilterScript] [FS] IRC Filterscript
#1

Hello all.

I made a simple IRC filterscript, you can use it together with Jacob's IRC Plugin.

Player Commands:

!imsg <send message to server>
!igetid <get a players id based on nickname>

Admin Commands:

!iban <ban a player with optional reason>
!ikick <kick a player with optional reason>
!islap <slap a player with optional reason>
!ikill <kill a player with optional reason>
!isay <send message to the server as admin>
!ipause <pause the echo, !pause again to unpause>

_________________________________________________

It looks something like this:

Quote:

(07:27:46) —› join: (SneakyBOT) (SneakyBOT@1337)
(07:27:46) (SneakyBOT) Your custom initialize message here :)
(07:27:46) (SneakyBOT) [NB]Sneaky joined the server.
(07:27:46) (SneakyBOT) [8] [NB]Sneaky: asd
(07:28:12) (~Sneaky) !igetid sneak
(07:28:13) (SneakyBOT) Matches: [NB]Sneaky(0)
(07:28:17) (~Sneaky) !ikill 0 noob
(07:28:18) (SneakyBOT) Admin Sneaky (ID: -1) killed [NB]Sneaky (ID:0) Reason: noob
(07:28:22) (SneakyBOT) [NB]Sneaky died.
(07:28:29) (SneakyBOT) [8] [NB]Sneaky: :(
(07:28:39) (~Sneaky) !islap 0 noob
(07:28:41) (SneakyBOT) Admin Sneaky (ID: -1) slapped [NB]Sneaky (ID:0) Reason: noob
(07:29:15) (SneakyBOT) [8] [NB]Sneaky: NO U
(07:29:16) (~Sneaky) !isay NO U
(07:29:17) (SneakyBOT) >> Admin from IRC Sneaky: NO U
(07:29:17) (SneakyBOT) [8] [NB]Sneaky: NO U
(07:29:20) (~Sneaky) !imsg NO U
(07:29:21) (SneakyBOT) >> Player from IRC Sneaky: NO U
(07:29:29) (SneakyBOT) [8] [NB]Sneaky: no u
(07:29:35) (~Sneaky) !IKICK 0 NO U
(07:29:36) (SneakyBOT) Admin Sneaky (ID: -1) kicked [NB]Sneaky (ID:0) Reason: NO U
(07:29:36) (SneakyBOT) [NB]Sneaky has left the server. (Kicked)
(07:30:09) —› quit: (SneakyBOT) (SneakyBOT@1337) (Quit: Your Custom Quit Message Here :))

It's 'highly' customizeble:

Quote:
Originally Posted by ircfs.pwn
// Setup settings here

#define IRC_SERVER "" // IRC Server (e.g irc.gtanet.com)
#define IRC_PORT 6667 // Set the IRC port (default 6667)

// Uncomment line 39 if you want to use 2 bots, uncomment line 40 if you want to use 3 bots
#define IRC_AMOUNT1 true
//#define IRC_AMOUNT2 true
//#define IRC_AMOUNT3 true

// Put the names of your irc bot's here (Note: not every bot can have the same name)
#define IRC_ECHO_BOT1 ""
#define IRC_ECHO_BOT2 ""
#define IRC_ECHO_BOT3 ""

// #channel is the channel you want to echo in game chat in, change it.
#define IRC_ECHO_CHAN "#channel"

// If your bot names are registered put a password here to identify them with
#define IRC_PASSWORD "password"

// Set the IRC join delay (1000 = 1 second), set to 0 if you dont want to use it
// (IF bot has a vHost then set this to 5000 ELSE it wont show the vHost on channel join)
#define IRC_JOIN_DELAY 0

// PRETTY SELF EXPLANARY

#define IRC_QUIT_MSG "Your Custom Quit Message Here :)"
#define IRC_AUTH_MSG "Your custom your not authorized message here :)"
#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 :)"
I tested everything and it should all work 100%, report any bugs here please & dont remove credits - that's all I ask.

(NO MIRRORS PLEASE)

PASTEBIN:

http://pawn.pastebin.com/f6f99afae
Reply


Messages In This Thread
[FS] IRC Filterscript - by -Sneaky- - 06.01.2009, 05:59
Re: [FS] IRC Filterscript - by KnooL - 06.01.2009, 06:04
Re: [FS] IRC Filterscript - by -Sneaky- - 07.01.2009, 09:31
Re: [FS] IRC Filterscript - by hipy - 07.01.2009, 19:57
Re: [FS] IRC Filterscript - by hipy - 07.01.2009, 20:23
Re: [FS] IRC Filterscript - by -Sneaky- - 07.01.2009, 22:16
Re: [FS] IRC Filterscript - by hipy - 08.01.2009, 07:51
Re: [FS] IRC Filterscript - by hipy - 08.01.2009, 08:11
Re: [FS] IRC Filterscript - by -Sneaky- - 08.01.2009, 12:00
Re: [FS] IRC Filterscript - by hamptonin - 08.01.2009, 13:19
Re: [FS] IRC Filterscript - by Kriztian - 08.01.2009, 13:28
Re: [FS] IRC Filterscript - by hipy - 08.01.2009, 14:40
Re: [FS] IRC Filterscript - by hipy - 12.01.2009, 15:27
Re: [FS] IRC Filterscript - by -Sneaky- - 13.01.2009, 08:01
Re: [FS] IRC Filterscript - by hipy - 13.01.2009, 16:25
Re: [FS] IRC Filterscript - by Chaprnks - 13.01.2009, 23:55
Re: [FS] IRC Filterscript - by hipy - 14.01.2009, 05:34
Re: [FS] IRC Filterscript - by -Sneaky- - 14.01.2009, 12:51
Re: [FS] IRC Filterscript - by Grove - 14.01.2009, 13:23
Re: [FS] IRC Filterscript - by hipy - 14.01.2009, 16:55
Re: [FS] IRC Filterscript - by hipy - 16.01.2009, 15:52
Re: [FS] IRC Filterscript - by Grove - 16.01.2009, 17:12
Re: [FS] IRC Filterscript - by hipy - 17.01.2009, 04:04
Re: [FS] IRC Filterscript - by Zezombia - 17.01.2009, 04:16
Re: [FS] IRC Filterscript - by hipy - 18.01.2009, 09:22
Re: [FS] IRC Filterscript - by Kriztian - 18.01.2009, 14:17
Re: [FS] IRC Filterscript - by hipy - 20.01.2009, 05:42
Re: [FS] IRC Filterscript - by My_Waffles_Bitch_L0L - 22.01.2009, 19:49
Re: [FS] IRC Filterscript - by StriKe7 - 31.01.2009, 08:58
Re: [FS] IRC Filterscript - by -Sneaky- - 31.01.2009, 12:34
Re: [FS] IRC Filterscript - by Big_Dan - 15.01.2010, 16:07
Re: [FS] IRC Filterscript - by [03]Garsino - 15.01.2010, 16:09
Re: [FS] IRC Filterscript - by Big_Dan - 15.01.2010, 16:15
Re: [FS] IRC Filterscript - by KyleSmith - 20.03.2010, 15:35
Re: [FS] IRC Filterscript - by HerronInd - 07.03.2011, 13:50
Re: [FS] IRC Filterscript - by Prodrift199 - 14.03.2012, 04:15
Re: [FS] IRC Filterscript - by aco_SRBIJA - 14.03.2012, 09:37
Re: [FS] IRC Filterscript - by denNorske - 15.04.2012, 12:37
Re: [FS] IRC Filterscript - by Magnezia - 02.06.2015, 13:59

Forum Jump:


Users browsing this thread: 1 Guest(s)