I've converted all existing replies to return C_OK on success or C_ERR on fail.
Proposed changes to reply
C_<ERR|OK> <funcname> <human readable message (for script display)>
eg:
C_ERR mchef_init Error: mChef has allready been initialized
C_OK mchef_init Successfully initialized mChef
The human readable text should be written in clear english (as above)
Looking for suggestions - Here's an example where this would NOT work
C_OK isattached 493543 was successfully created
Why?
1) Because the HWND "493543" isn't english and is not really readable.
2) If the HWND is actually a name, It could contain spaces, causing it to be unreadable by script.
I think the current implementation of the isattached reply is the only suitable one, which is: (for reference only)
C_OK 493543
Allthough, adding the function name only would be fine
C_OK isattached 493543
Please add suggestions to comment box
Currently in the works.