[HELP]IRC Plugin
#5

Quote:
Originally Posted by XoX
Посмотреть сообщение
I tried connecting them again and it's working now *weird*

But i still have a problem:

Код:
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(0x0000FFFF, msg);
		}
	}
	return 1;
}
How to autosend (to the samp server) when a user is typing something without using !say?
By putting code on IRC_OnUserSay callback
Reply


Messages In This Thread
[HELP]IRC Plugin - by XoX - 10.01.2011, 15:13
Re: [HELP]IRC Plugin - by *IsBack - 10.01.2011, 18:36
Re: [HELP]IRC Plugin - by Fool - 10.01.2011, 18:38
Re: [HELP]IRC Plugin - by XoX - 10.01.2011, 19:03
Re: [HELP]IRC Plugin - by *IsBack - 10.01.2011, 19:06
Re: [HELP]IRC Plugin - by XoX - 10.01.2011, 19:19
Re: [HELP]IRC Plugin - by *IsBack - 10.01.2011, 19:31
Re: [HELP]IRC Plugin - by XoX - 10.01.2011, 19:33
Re: [HELP]IRC Plugin - by Fool - 10.01.2011, 21:22
Re: [HELP]IRC Plugin - by XoX - 11.01.2011, 11:15

Forum Jump:


Users browsing this thread: 1 Guest(s)