Label must match the enterproc fn name:
long if 0 "MyCommandProcessHandler" enterproc fn MyCommandProcessHandler( ... ) ... exitproc end if