CMD ids are "signed".

Negative:    Build options
    0-  999: Standard Commands
 1000- 9999: Group AI
10000-19999: LuaUI
20000-29999: LuaCob
30000-39999: LuaRules

Specific commands:
CMD_MEXE =          30666
CMD_MORPH =         31210 upto 31210+morph options
CMD_EMBARK =        31800
CMD_DISEMBARK =     31801
CMD_STEALTH =       32100
CMD_CLOAK_SHIELD =  32101
CMD_MORPH_STOP =    32210 upto 32210+morph options
CMD_PLANTBOMB =     32523
CMD_AUTOREPAIR =    33250
CMD_AUTORECLAIM =   33251
CMD_AUTOASSIST  =   33252
CMD_AUTOATTACK  =   33253
CobButton =         34520 upto 32520+different cob buttons
CMD_JUMP =          38521