SA-MP Forums Archive
IRC Question - 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: IRC Question (/showthread.php?tid=409270)



IRC Question - Blackazur - 20.01.2013

Hello Guys, how to make that Players in the Server, see what Players write on the IRC Chat? Like "Player X [IRC]: blabla"


Re: IRC Question - LarzI - 20.01.2013

You've already been explained how to do this in the IRC plugin thread.


Re: IRC Question - [jS]Thomas - 20.01.2013

Do you mean without a !say command? If so then just add this to your script -

Код:
public IRC_OnUserSay(botid, recipient[], user[], host[], message[])
{
    new string[128];
    format(string, sizeof(string), "[IRC] %s: %s", user, message);
    SendClientMessageToAll(YOUR_COLOR_HERE, string);
    return 1;
}