RE: Contact status indication in window's icon in taskbar
The script will soon be available again. You can take a look at it when it is available again. It is indeed as simple as those 2 lines of code you posted (with some more stuff around it of course).