Thank you very much, that gave me all the info I needed to create the script and it's now completely assembled and functioning.
Mirc watches the room topic and if someone takes control writes to a text file and ftp's the text file to the web server.
On the web server there's a php script that reads the file mirc controls and depending on the on contents of the mirc controlled file determines the output on the website, in this case which picture to display.
and again, thank you very much