08.07.2018, 08:02
I have this command
I have no errors when I compile the script, but when I start the server
EDIT: When I remove those commands, the server and IRC run well
PHP код:
IRCCMD:cc(botid, channel[], user[], host[], params[])
{
if(IRC_IsHalfop(botid, channel, user))
{
for(new i = 0; i < 11; i++) SendClientMessageToAll(green," "); return 1;
} else return IRC_GroupSay(GroupID, channel, "4ERROR: You need to be HalfOp to use this command");
}
IRCCMD:cac(botid, channel[], user[], host[], params[])
{
if(IRC_IsHalfop(botid, channel, user))
{
for(new i = 0; i < 100; i++) SendClientMessageToAll(green," "); return 1;
} else return IRC_GroupSay(GroupID, channel, "4ERROR: You need to be HalfOp to use this command");
}
Код:
*** IRC_Connect: Expecting 8 parameter(s), but found 7 *** IRC_Connect: Expecting 8 parameter(s), but found 7 *** IRC_Connect: Expecting 8 parameter(s), but found 7 *** IRC_Connect: Expecting 8 parameter(s), but found 7