15.11.2014, 16:12
pawn Код:
IRCCMD:msg(botid, channel[], user[], host[], params[])
{
// Check if the user entered any text
if (!isnull(params))
{
// Echo the formatted message
new msg[112];
format(msg,sizeof(msg), "(IRC) %s: %s", user, params);
SendClientMessageToAll(COLOR_LIGHTBLUE, msg);
format(msg, sizeof(msg),"(IRC) %s: %s", user, params);
Say(channel,msg);
}
return 1;
}