IRC help
#1

Hello mates I found this command to use to chat to other players in-game its !say but I wanna be able to talk without using that command just typing the word in there and it will also show in-game im posting the cmd maybe it will help in some way please help me guys with this.
Код:
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(groupID, channel, msg);
            format(msg, sizeof(msg), "*** %s on IRC: %s", user, params);
            SendClientMessageToAll(0x0000FFFF, msg);
        }
    }
    return 1;
}
Reply


Messages In This Thread
IRC help - by Chiao - 08.09.2013, 12:12
Re: IRC help - by Kirollos - 08.09.2013, 12:14
Re: IRC help - by Chiao - 08.09.2013, 12:17
Re: IRC help - by Kirollos - 08.09.2013, 12:24
Re: IRC help - by Chiao - 08.09.2013, 12:36
Re: IRC help - by Kirollos - 08.09.2013, 12:47
Re: IRC help - by Chiao - 08.09.2013, 12:56
Re: IRC help - by Kirollos - 08.09.2013, 13:08
Re: IRC help - by Chiao - 08.09.2013, 13:17

Forum Jump:


Users browsing this thread: 1 Guest(s)