He did it by plugin or by vscript, probably, I'm making a plugin similar but I'm far to finish
The EMS system is kinda hard to explain, you need know vscript, try to do the example from the post that I sent you then you may understand how it works.
Note: When I say "by plugin" I mean that a plugin generates the vscript (.nut) file from time to time.