Im trying to client-sided-ly manipulate clientcmdbottomprint, and its working, but it stops the bottomprint from actually appearing, and makes and error when the function is called.
Could anyone tell me what im doing wrong and how to fix it? thanks.
deactivatePackage(newpackage);
package newpackage
{
function clientCmdBottomprint(%msg, %time)
{
%nmsg = strreplace(%msg, " ", " ");
for(%a=0; %a < getFieldCount(%nmsg); %a++)
{
echo("Field" SPC %a SPC getField(%nmsg, %a));
}
parent::Bottomprint(%msg, %time);
}
};
activatePackage(newpackage);