意向形 => volitional form​ N4
という意味だ => This means... N4
~ひょうしに(~拍子に)   => the moment [A], unintentionally / inadvertently caused something to happen N1
ように言う/頼む/注意する/伝える => to convey; to report; to transmit; to communicate; to tell; to impart; to propagate; to teach. N3