@Override
    public String toString() {
        String string = "";
        if(style == 2)
            string += "<i>";
        if(privateMessage) {
            string += "<b>";
            if(outgoing)
                string += "(to "+author+")";
            else
                string += "(from "+author+")";
        } else {
            string += author;
        }
        if(style == 2)
            string += " "+message.substring(4)+"</i>";
        else
            string += ": "+message;
        if(privateMessage)
            string += "</b>";
        return string;
    }