You could have a DB NPC called Static Variables or something..
PHP Code:
function onCreated() {
staticvar = this;
}
Then in other scripts just reference it like so:
PHP Code:
function onCreated() {
staticvar.crazyexample = 100;
echo(staticvar.crazyexample); // 100 should appear on RC
}