MEMORYSTATUSEX isn't a String, it's a structure. The documentation for it can be found
here
You will need to use Data Blocs to emulate the structure and then you can read information out with functions like
js code:
myDataBloc.readDWORD(0);
as described in the documentation for MP! scripting