Introducing 3ds MAX to UE4 FBX and t3d Exporter MaxScript

Does anyone know where the documentation for the sytax that unreal wants is? I assume that is how the scripts were made. I need to build something similar for Maya.