Vexen Crabtree (vexen) wrote,
Vexen Crabtree

  • Mood:
  • Music:


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.
Tags: chat, mirc, now playing, scripts
  • Post a new comment


    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.