This simply displays all of its arguments. However, it's not that simple. echo will work even if DISPLAY is set to OFF, making it useful in your .ircrc file. Also, echo will work in the action portion of an on command in all modes. This can be used to redefine the way messages appear.
See Also: on set/display xecho