told [someone] to
彼女に行かないようにと言った。
I told her not to go.
彼は私にもっとよく気をつけるようにと言った。
He told me to be more careful.
バスの車掌は彼女に、料金を払えないので降りるようにと言った。
The bus conductor told her to get off because she couldn’t pay the fare.
先生は彼らに川で泳がないようにと言った。
The teacher told them not to swim in the river.
私はジムにあまり飲みすぎないようにと言った。
I told Jim not to drink too much.