October 12th, 2002

Vexen Crabtree 2015

Scripts...

Just got round to working out some of mIRC's scripting system... it's efficient and cool and I think (with it's ability to invoke any program and DLLs) it is capable of doing pretty much anything.

So I set out with the intention of writing a script that posted "Now Playing" information to mIRC. The first thing I knew I'd have to do is write a VB program to get the band:track of the currently playing file. Done that.

They I wrote mIRC scripts, using a series of aliases and a timer that repeats every 5 mins to print "/me np Test: Test", which worked. I made my VB program print the NP information to a file, and altered the timer's alias command to print the contents of that file, then call my vb program.

Now, whenever I connect to mIRC it automatically prints my "NP" information every 5 mins, I don't have to do anything! It just works and when it fails (if nothing is playing) then it doesn't crash, it just does nothing. Yay.
Vexen Crabtree 2015

(no subject)

Whilst trying to remove the piece of glass from my bare foot it became embedded in my hand!

*V is now covered in little plasters*
  • Current Music
    "Acid Sex and Marble Teeth" by ...And Oceans
  • Tags
    ,