mpc4irc is a Konversation plugin, written on Perl, that can control music player daemon throught mpc.
It supports such actions, as "play","pause","stop","next song"(next), "prev song"(prev) and printing of current playing song(without parameters).
You must create file ".bash_export" in you home folder and write there this lines:
export MPD_HOST='*Your MPD host*'
export MPD_PORT='*Your MPD port*'
MPC requires this parameters.