Is it possible to make a script that can scan from a channel if that nick(only that nick) use bold, the script will copy that line of word that it post and paste it in a other channel?

like #channel A
<nick1> words goes here

it'll copy and paste it in another channel
#channel B
<bot> words goes here

could anyone help me out?