float GenericCommand(string command);
// Returns command prefix specific for whatever program it is compiled in
-string GetProgramCommandPrefix();
+#ifdef SVQC
+ #define GetProgramCommandPrefix() "sv_cmd"
+#elif defined(CSQC)
+ #define GetProgramCommandPrefix() "cl_cmd"
+#elif defined(MENUQC)
+ #define GetProgramCommandPrefix() "menu_cmd"
+#endif
// used by common/command/generic.qc:GenericCommand_dumpcommands to list all commands into a .txt file
#define CMD_Write(s) fputs(fh, s)