Hello all.

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

Player Commands:

!imsg
!igetid

Admin Commands:

!iban
!ikick
!islap
!ikill
!isay
!ipause




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) Sneaky joined the server.
(07:27:46) (SneakyBOT) Sneaky: asd
(07:28:12) (~Sneaky) !igetid sneak
(07:28:13) (SneakyBOT) Matches: Sneaky(0)
(07:28:17) (~Sneaky) !ikill 0 noob
(07:28:1😎 (SneakyBOT) Admin Sneaky (ID: -1) killed Sneaky (ID:0) Reason: noob
(07:28:22) (SneakyBOT) Sneaky died.
(07:28:29) (SneakyBOT) Sneaky: ☹️
(07:28:39) (~Sneaky) !islap 0 noob
(07:28:41) (SneakyBOT) Admin Sneaky (ID: -1) slapped Sneaky (ID:0) Reason: noob
(07:29:15) (SneakyBOT) Sneaky: NO U
(07:29:16) (~Sneaky) !isay NO U
(07:29:17) (SneakyBOT) >> Admin from IRC Sneaky: NO U
(07:29:17) (SneakyBOT) Sneaky: NO U
(07:29:20) (~Sneaky) !imsg NO U
(07:29:21) (SneakyBOT) >> Player from IRC Sneaky: NO U
(07:29:29) (SneakyBOT) Sneaky: no u
(07:29:35) (~Sneaky) !IKICK 0 NO U
(07:29:36) (SneakyBOT) Admin Sneaky (ID: -1) kicked Sneaky (ID:0) Reason: NO U
(07:29:36) (SneakyBOT) Sneaky has left the server. (Kicked)
(07:30:09)  —› quit: (SneakyBOT) (SneakyBOT@1337) (Quit: Your Custom Quit Message Here 🙂)


It's 'highly' customizeble:

ircfs.pwn wrote:
// 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