Irc help
#1

Hey guys, I'll make this quck!

Output,
pawn Код:
error 035: argument type mismatch (argument 2)
In this part,
pawn Код:
public ircConn()
{
    new string[128];
    format(string, sizeof(string), "a%d", random(50));
    EchoConnection = ircConnect(EchoServer, EchoPort, string);
    return 1;
}
On this line,
pawn Код:
EchoConnection = ircConnect(EchoServer, EchoPort, string);

Many thanks in advance.
Reply
#2

pawn Код:
public ircConn()
{
    new string[128];
    format(string, sizeof(string), "a%d", random(50));
    EchoConnection = ircConnect(EchoServer, EchoPort);
    SendClientMessage(playerid, -1, string);
    return 1;
}
May You Try this ?
Reply
#3

That did not work,

I'm get this error when the define is like,

#define EchoPort "6667"

but when I use it like this

#define EchoPort 6667, without the " ", i get no errors, but the bot won't join the mIRC #chan.

It works perfectly when I use other Irc scripts but I want to use this one, lul.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)