Having a small issue with my IRC script
#1

Basically I compile with the following errors, it evolves around print info -.- which is neccasary and i'm stumped

C:\DOCUME~1\COMPAQ~1.YOU\LOCALS~1\Temp\Rar$DI00.95 3\irc.pwn(433) : error 029: invalid expression, assumed zero
C:\DOCUME~1\COMPAQ~1.YOU\LOCALS~1\Temp\Rar$DI00.95 3\irc.pwn(433) : error 035: argument type mismatch (argument 1)
C:\DOCUME~1\COMPAQ~1.YOU\LOCALS~1\Temp\Rar$DI00.95 3\irc.pwn(433) : error 020: invalid symbol name ""
C:\DOCUME~1\COMPAQ~1.YOU\LOCALS~1\Temp\Rar$DI00.95 3\irc.pwn(433) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Код:
irccmd_say(conn, channel[], user[], params[])      
{
  if(!SWsay) return ircSay(EchoConnection2,channel,"4*** Error: Commands !say, !me, !pmsay, !apmchat disable");
 	if(!strlen(params)) return ircSay(EchoConnection2,channel,"3Usage:1 !say <Message>");
 	printinfo     //<<<<<<<<<<<<<<<<<<<<<<<< line 433      
 	new lolz1[256];
 	new lolz2[256];
 	if(IsPlayerOwner(conn,channel,user))
	{
		format(lolz1,256,"(Owner) %s on irc: %s",user,params);
		SendClientMessageToAll(orange, lolz1);
		format(lolz2,256,"7(Owner) %s on irc:1 %s",user,params);
		ircSay(RandomBot(),channel,lolz2);
		Debug(lolz1);
		return true;
	}
Reply
#2

What does "printinfo" do? Do you even got a function called printinfo in your script? If not you can just remove it..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)