QString clilocargs = QString::null; QString affix = QString::null;
unsigned int id; char *clilocargs = 0; char *affix = 0;
static PyObject* wpChar_message( wpChar* self, PyObject* args ){	P_PLAYER player = dynamic_cast<P_PLAYER>( self->pChar );		if( !player || !player->socket() )		return PyFalse;	if( checkArgStr( 0 ) )	{		QString message = getArgStr( 0 );		if( ( player->bodyID() == 0x3DB ) && message.startsWith( SrvParams->commandPrefix() ) )			Commands::instance()->process( player->socket(), message.right( message.length()-1 ) );		else if( message.startsWith( SrvParams->commandPrefix() ) )			Commands::instance()->process( player->socket(), message.right( message.length()-1 ) );		else if( PyTuple_Size( args ) == 2 && PyInt_Check( PyTuple_GetItem( args, 1 ) ) )			player->message( message, PyInt_AsLong( PyTuple_GetItem( args, 1 ) ) );		else			player->message( message );	}	else if( checkArgInt( 0 ) )	{		// Affix?		QString clilocargs = QString::null;		QString affix = QString::null;		if( checkArgStr( 1 ) )			clilocargs = getArgStr( 1 );		if( checkArgStr( 2 ) )			affix = getArgStr( 2 );		// Cliloc Message		if( !affix.isNull() )			player->socket()->clilocMessageAffix( getArgInt( 0 ), clilocargs, affix, 0x3b2, 3, player, false, false );		else			player->socket()->clilocMessage( getArgInt( 0 ), clilocargs, 0x3b2, 3, player );	}	else	{		PyErr_BadArgument();		return NULL;	}	return PyTrue;}