}
}
public void parsePackages()
{
L2ScriptEngineManager sem = L2ScriptEngineManager.getInstance();
ScriptContext context = sem.getScriptContext("beanshell");
try
{
sem.eval("beanshell", "double log1p(double d) { return Math.log1p(d); }");
sem.eval("beanshell", "double pow(double d, double p) { return Math.pow(d,p); }");
for(ScriptDocument script : _scripts)
{
parseScript(script, context);
}