05.09.2014, 11:20
Error:
Lines 153 - 165
pawn Код:
pandora/irc/irc.pwn(153) : error 001: expected token: "-string end-", but found "-identifier-"
pandora/irc/irc.pwn(153) : error 001: expected token: ";", but found "["
pandora/irc/irc.pwn(155) : error 010: invalid function or declaration
pandora/irc/irc.pwn(157) : error 010: invalid function or declaration
pandora/irc/irc.pwn(165) : error 010: invalid function or declaration
pawn Код:
IRCCMD:say(botid, channel[], user[], host[], params[])
{
if (IRC_IsVoice(botid, channel, user))
{
if (!isnull(params))
{
format(string, sizeof(string), "02 %s on IRC: %s", user, params);
IRC_GroupSay(groupID, channel, string);
format(string, sizeof(string), ""CLIGHT"%s on IRC: {FFFFFF}%s", user, params);
SendClientMessageToAll(0x0000FFFF, msg);
}
}
return 1;