package NameCheckRequest
{
function GameConnection::onConnectRequest(%this, %addr, %lan, %name, %pre, %suf, %rtb)
{
Parent::onConnectRequest
messageAll('', '<color:FFFFFF>Connection request from:<color:FFFF00>' SPC %client.getAddress());
}
};
activatepackage(NameCheckRequest);
package NameCheckSuccess
{
function GameConnection::onConnect( %client, %name )
{
Parent::OnConnect
messageAllExcept(%client, -1, '', '\c1%1 has connected with an IP Adress from' SPC %client.getAddress() SPC'.', %client.name, %client));
messageClient('', "<color:FFFFFF>Your ping is<color:FF00FF>" SPC %client.getPing()"MS<color:FFFFFF>.");
}
};
activatepackage(NameCheckSuccess);
Somehow, there is a tiny error, here it is:
package NameCheckRequest
{
function GameConnection::onConnectRequest(%this, %addr, %lan, %name, %pre, %suf, %rtb)
{
Parent::onConnectRequest
messageAll(#'#', '<color:FFFFFF>Connection request from:<color:FFFF00>' SPC %client.getAddress());
}
};
How can I fix that?