01.05.2011, 21:58
Is this what you mean?
On this line..
You can change BOT_1_NICKNAME to other ones like this.. BOT_NUMBER_NICKNAME
pawn Код:
public IRC_OnUserSay(botid, recipient[], user[], host[], message[])
{
printf("*** IRC_OnUserSay (Bot ID %d): User %s (%s) sent message to %s: %s", botid, user, host, recipient, message);
// Someone sent the first bot a private message
if (!strcmp(recipient, BOT_1_NICKNAME))
{
IRC_Say(botid, user, "You sent me a PM!");
}
return 1;
}
pawn Код:
if (!strcmp(recipient, BOT_1_NICKNAME))

