Irc Problem
#1

My problem is when i use !say It sending 2 Message on server Like

User On Irc: my msg
User On Irc: my msg
Reply
#2

Show us the code of your IRC script.
Reply
#3

Bots Name's

Код:
// Name that everyone will see
#define BOT_1_NICKNAME "SampEver"
// Name that will only be visible in a whois
#define BOT_1_REALNAME "Samp4Ever1"
// Name that will be in front of the hostname (username@hostname)
#define BOT_1_USERNAME "Samp4Ever2"

#define BOT_2_NICKNAME "Hacking"
#define BOT_2_REALNAME "Hacking1"
#define BOT_2_USERNAME "Hacking2"

#define IRC_SERVER "irc.foco.co" // EDIT IT to your irc server
#define IRC_PORT (6667) // Leave THE port
#define IRC_CHANNEL "#SampFourEver" // Set it to your IRC Channel!
#define			blue 						0x375FFFFF
#define 		red 						0xFF0000AA
#define 		green 						0x33FF33AA
#define 		ROJO						0x33FF33AA
#define 		yellow 						0xFFFF00AA
#define 		grey 						0xC0C0C0AA
#define 		blue1 						0x2641FEAA
#define 		lightblue 					0x33CCFFAA
#define 		orange 						0xFF9900AA
#define 		black 						0x2C2727AA


#pragma 		tabsize 					0

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

Код:
IRCCMD:say(botid, channel[], user[], host[], params[])
{
	// Check if the user has at least voice in the channel
	if (IRC_IsVoice(botid, channel, user))
	{
		// Check if the user entered any text
		if (!isnull(params))
		{
			new
				msg[128];
			// Echo the formatted message
			format(msg, sizeof(msg), "02*** %s on IRC: %s", user, params);
			IRC_GroupSay(gGroupID, channel, msg);
			format(msg, sizeof(msg), "*** %s on IRC: %s", user, params);
			SendClientMessageToAll(0x33FF33AA, msg);
		}
	}
	return 1;
}

Код:
IRCCMD:msg(botid, channel[], user[], host[], params[])
{
			new msg[128];
			// Echo the formatted message
			format(msg, sizeof(msg), "02***[User] %s on IRC: %s", user, params);
			IRC_GroupSay(gGroupID, channel, msg);
			format(msg, sizeof(msg), "***[User] %s on IRC: %s", user, params);
			SendClientMessageToAll(0x33FF33AA, msg);
	return 1;
}
Reply
#4

Sorry But Can any One Help Me !?
Reply
#5

which irc plugin are you use ?
Reply
#6

i think its A Normal Irc plugin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)