If $cmdprefix was added, having $command wouldn't be necessary, but they might as well be added together. Basically, one or the other (or both) would do. However, since it's likely that $cmdprefix will be used pretty much exclusively to test ON INPUT events, it would be wiser to just consolidate the big if statement into a simple $command event rather than giving you one extra tiny part.

Also, as Collective pointed out, there are more factors that people don't take into account like $inpaste, which even the example scripts above ignore-- $command would be able to deal with such omissions a lot more elegantly than simply providing the $cmdprefix.

- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"