I would say you likely have some script thats doing a custom echo alias

Try and echo that makes the "7 unknown command" come up, then try the same echo but using /!echo which makes it use the original echo command.

The 7 unknown command, is becuase somewhere a script is issueing the command "7" which as its not a mirc command its sent to the server, wheich also doesnt know what it means, so sends you back that message

An example of the same would be
/garfield
-
GARFIELD Unknown command
-