Hello,
It sounds as if you have created a "map" in the AOM editor. If this is the case, then you cannot make it a random map. Random map scripts are PURE source code (text based).
Or in other words: converting *.scx into random map scripts (*.xs and *.xml) is not possible.
BTW, there is also a RMS and AI section in this forum for further questions and help (sticky FAQs).
Regards,
M0nTy_PyTh0n.