Fixed registeration of skript event