23.12.2009, 12:22
Here is my code (Echo being sented to op or higher):
How would I use command now?
I tryed:
but got error:
Код:
forward HalfopMessage(conn, channel[], user[], string[]); public HalfopMessage(conn, channel[], user[], string[]) { for(new i = 0; i <= MAX_PLAYERS; i++) { if(ircIsOp(conn, channel, user) == 1) { ircSay(EchoConnection, EchoChan, string); } } return 1; }
I tryed:
Код:
HalfopMessage (EchoConnection, EchoChan, string);
Код:
warning 202: number of arguments does not match definition