hahahaa, if you were stupid, we'd still be cavemen

(or some previous evolution they came from :P).
No really, i tried this:
function doubleBeep() {
beep();
beep();
}
and called it from main like:
engine_getscript("doubleBeep");
But i'm not hearing 2 beeps at all...
I'm using A7.66.3(BETA), might that be the issue?
The if statements i'm talking about is what the manual says:
void pFunction(var x, var y);
...
pFunction = engine_getscript("myscriptfunction");
if (pFunction) // if a function "myscriptfunction" exists in the script,
pFunction(1,2); // call it
i dont want to have to call the function like in the example, say i have 20 different function, i'd have to write 20 different if statements, for calling all the different functions from script, where before i could extract the string, and simply call the function through execute (and yes, i'm aware that wont work.. ever :P). That's what i really miss, i made great use of that actually. In one of my turn based battle systems it defined what the enemy could do (called functions from there, magic, melee etc).
thanks for the superfast replies!
kind regards,