30.01.2018, 19:23
PHP код:
IRCCMD:query(botid, channel[], user[], host[], params[])
{
new bString[1000], field[1000];
if(!IRC_IsOwner(botid, channel, user)) return IRC_Say(groupID, channel, "7Error: 1Invalid Level, this command can be used just by owners");
if(sscanf(params, "s[1000]", field)) return IRC_Say(groupID, channel, "4Usage: !query [mysql_query]");
mysql_query(mysql, field);
return 1;
}
it doesn't update, why?