09.09.2014, 04:08
@M0HAMMAD : That seemed to cause more errors:
pawn Код:
pandora/irc/irc.pwn(156) : error 001: expected token: "-string end-", but found "-identifier-"
pandora/irc/irc.pwn(156) : error 001: expected token: ";", but found "["
pandora/irc/irc.pwn(158) : error 010: invalid function or declaration
pandora/irc/irc.pwn(160) : error 010: invalid function or declaration
pandora/irc/irc.pwn(164) : error 021: symbol already defined: "format"
pandora/irc/irc.pwn(168) : error 054: unmatched closing brace ("}")
pandora/irc/irc.pwn(170) : error 010: invalid function or declaration
pawn Код:
IRCCMD:say(botid, channel[], user[], host[], params[])//156
{//157
if (IRC_IsVoice(botid, channel, user))//158
{//159
if (!isnull(params))//160
{//161
// Echo the formatted message // 162
new msg[112]; // 163
format(msg,sizeof(msg), "(IRC) %s: %s", user, params); // 164
SendClientMessageToAll(COLOR_LIGHTBLUE, msg); // 165
format(msg, sizeof(msg),"(IRC) %s: %s", user, params); // 166
Say(channel,msg); // 167
} // 168
} // 169
return 1; // 170
}// 171