new irssi mocp script
Made another, a bit more advanced mocp script for irssi than the one @ the contrib-page.
iMOCP is a script that make Irssi able to talk with MOCP. Put the script in ~/.irssi/scripts or
~/.irssi/scripts/autorun to make it autoload, when you start Irssi. If you dosen't use the autorun folder
then you have to load iMOCP with this command:
/script load imocp.pl
/mocp play - Play track
/mocp pause - Pause track
/mocp p - Toggle between play and pause
/mocp next - Play next track
/mocp prev - Play previous track
/mocp info - Display track information i status window
/mocp npf - Print now playing filename to channel.
/mocp np - Print current track title to chat window. This only supports id3-tag yet.