Advanced scripting

edit

Using _index in scripts has been replaced with writing ScriptEngine backends (see Advanced scripts using script engines).