def cmd(send, msg, args):
    """Converts text into NATO form.

    Syntax: {command} <text>

    """
    if not msg:
        send("NATO what?")
        return
    nato = gen_nato(msg)
    if len(nato) > 100:
        send("Your NATO is too long. Have you considered letters?")
    else:
        send(nato)