Hey guys, I don't have much experience with mIRC scripting and so forth but I've been messing around and tweaking random scripts for an IRC channel me and some friends use.

Long story short, is there a way to grab the URL of the background image of a web page via mIRC scripts only? I was going to use a javascript one but js4mirc crashed mIRC so I don't think I'll be running that :p

Essentially the script I want is that when people type a certain command (in this case it'll be !m) it'll grab the background image of the website (which changes on every load) and post it into the channel.

We already had a script for it but the website we were using to get the images went down and the creator of the bot is inactive so I've been trying to recreate it myself to no avail. Any help is greatly appreciated!