IRC command prefix (+rep)
#2

Open up irc.inc

Change this:
pawn Код:
public IRC_OnUserSay(botid, recipient[], user[], host[], message[])
{
    if (recipient[0] == CHANNEL_PREFIX && message[0] == COMMAND_PREFIX)
    { // Remaining code
To:
pawn Код:
#define COMMAND_PREFIX_2 '`'
public IRC_OnUserSay(botid, recipient[], user[], host[], message[])
{
    if (recipient[0] == CHANNEL_PREFIX && message[0] == COMMAND_PREFIX || message[0] == COMMAND_PREFIX_2)
    { // Remaining code
Reply


Messages In This Thread
IRC command prefix (+rep) - by biker122 - 11.04.2014, 08:57
Re: IRC command prefix (+rep) - by iZN - 11.04.2014, 09:19
Re: IRC command prefix (+rep) - by biker122 - 11.04.2014, 09:41

Forum Jump:


Users browsing this thread: 1 Guest(s)