GetPlugInObject not working for VBScript?

Actually, I’m not sure why two separate functions exist, but both GetSceneMaterialNames and GetSceneMaterialNamesScript work just fine with the same result!

And, @matt_newberg approves! A bit more about V-Ray scripting