HalfopMessage help
#1

Here is my code (Echo being sented to op or higher):

Код:
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;
}
How would I use command now?

I tryed:
Код:
HalfopMessage (EchoConnection, EchoChan, string);
but got error:
Код:
warning 202: number of arguments does not match definition
Reply
#2

You forgot the user[] argument
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)