I'm not sure myself but perhaps you can use a main script object and create some sort of evaluation method:
new scriptObject(SQLO)
{
Class = sqLite;
Connection = new tcpObject()
{
//Tags
};
};
function sqLite::run(%this,%function,%arg1,%arg2,%arg3, ...)
{
%connection = %this.connection;
if(isFunction(%connection,%function))
{
//Evaluate and run TCP OBJECT function
}
else
{
//Error
}
//Code
}