SA-MP Forums Archive
Need Help with IRC Bots! - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need Help with IRC Bots! (/showthread.php?tid=487390)



Need Help with IRC Bots! - RaiNyDayS - 13.01.2014

Ok so what i want to do is link my server to a IRC channel.

I found this tutorial https://sampforum.blast.hk/showthread.php?tid=281101 but i setup my channel using mibbit rather than mIRC. Now here is where im having issues, when i start my samp server, my bots i created in the irc.pwn join the IRC channel but they are not echoing anything. If i type something in server, it does not show in the channel, and vise-versa. The only thing that shows in my IRC channel is when a player leaves my server, it displays in my IRC chat "*** PLAYER has left the server. (Leaving)" it does NOT show a player connect message or anything else. So what i am asking is what am i doing wrong?

Here is a screenshot:


Here are my defines:
Код HTML:
#include <a_samp>
// irc.inc from this package
#include <irc>
// sscanf2.inc from the sscanf plugin
#include <sscanf2>

// Name that everyone will see (main)
#define BOT_1_MAIN_NICKNAME "[NSE]BOT"
// Name that everyone will see (alternate)
#define BOT_1_ALTERNATE_NICKNAME "[NSE]BOT"
// Name that will only be visible in a whois
#define BOT_1_REALNAME "SA-MP Bot"
// Name that will be in front of the hostname (username@hostname)
#define BOT_1_USERNAME "bot"

#define BOT_2_MAIN_NICKNAME "[NSE]BOT2"
#define BOT_2_ALTERNATE_NICKNAME "[NSE]BOT2"
#define BOT_2_REALNAME "SA-MP Bot"
#define BOT_2_USERNAME "bot"

#define IRC_SERVER "irc.mibbit.net"
#define IRC_PORT (6667)
#define IRC_CHANNEL "#NSE-SERVER"

// Maximum number of bots in the filterscript
#define MAX_BOTS (2)

#define PLUGIN_VERSION "1.4.4"
Here is my entire irc.pwn file if needed
irc.pwn

Thanks in advance for any help!


Re: Need Help with IRC Bots! - RaiNyDayS - 13.01.2014

Anyone


Re: Need Help with IRC Bots! - RaiNyDayS - 15.01.2014

Im using the IRC script downloaded from here:https://sampforum.blast.hk/showthread.php?tid=98803
I downloaded the "Server Plugin (Non-SSL) (Windows and Linux) (Mirror)"