Morocco is not listed at the Thai Embassy in Kuala Lumpur, he can apply for a Single Entry Tourist visa there.
Means he can use the Thai Consulate in Penang or Kota Bahru.
*******************************************************************************
%20country%
*****
8_2.pdf
Thai Embassy Vientiane, Laos.
***********************************************************************
Thai Embassy Phnom Penh, Cambodia.
*******************************************************************************************************************
*****
**********
-Additional-documents-required-for-citizens-from-ce.html
Thai Embassy Yangon, Myanmar.
******************************************************************************************
*****
**********
-Information-for-Non-Resident.html
Thai Embassy Singapore.
***********************************************************************************
Thai Embassy Hanoi, Vietnam, no list, their advice contact us.
*************************************************************************
*****
**********
-Tourist-Visa.html
Thai Embassy Jakarta, Indonesia.
*************************************************************************************************************
Thai Embassy Manilla, Philippines.
***************************************************************************
I will keep on adding consulates, I do not like sad faces, this is the land of smiles.