But at this point I have no clue what I am actually doing. I have read the scripting guide as much as I could find related stuff, but it is still not clear to me how this actually works and where I can find the correct information on how to actually set it up properly.
Question 2.) I could only find a few events that I could set with this script (eventIDAttr). I could not find any official documentation, is there none? This would help me greatly with understanding this.
I have installed the script-to-log plugin thing, but it lacks a lot of events it seems and it also not really clear how these actions can be translated to an event.