In the console/command line, you need to escape the ! commands with a / (e.g. /!warn instead of !warn) since the ! commands are chat strings.
The !help command can be used to provide usage information about the !commands, for example to find information about !warn use !help warn. The !cp command doesn't cp to the originator, on many QVMs at least.