need help with IRC
#7

pawn Код:
IRCCMD:say(botid, channel[], user[], host[], params[])
{
    if (IRC_IsVoice(botid, channel, user))
    {
        if (!isnull(params))
        {
            new msg[128];
            new msg2[128];
            format(msg, sizeof(msg), "*** %s on IRC: %s", user, params);
            IRC_GroupSay(gGroupID, channel, msg);
            format(msg2, sizeof(msg2), "*** %s on IRC: %s", user, params);
            SendClientMessageToAll(0x0000FFFF, msg2);
        }
    }
    return 1;
}
You don't need your own function MessageAll,just use the classic SendClientMessageToAll.
Reply


Messages In This Thread
[No subject] - by DeathTone - 10.05.2012, 14:56
Re: need help with IRC - by DeathTone - 10.05.2012, 19:27
Re: need help with IRC - by denNorske - 10.05.2012, 22:11
Re: need help with IRC - by Vince - 10.05.2012, 22:54
Re: need help with IRC - by DeathTone - 10.05.2012, 23:54
Re: need help with IRC - by DeathTone - 11.05.2012, 22:11
Re: need help with IRC - by Face9000 - 11.05.2012, 23:26
Re: need help with IRC - by DeathTone - 12.05.2012, 00:02
Re: need help with IRC - by Face9000 - 12.05.2012, 09:12
Re: need help with IRC - by DeathTone - 12.05.2012, 17:31

Forum Jump:


Users browsing this thread: 1 Guest(s)