Sending Notifications from mIRC to Growl

2

Posted by whoknew on Wednesday, April 15, 2009 in Apple, Featured, iPocalypse


First please watch the video above as it will help you better understand the tools required to get this job done correctly.

I have always had the issue of Mac OS X not having the best IRC clients. So I decided to start using mIRC within a VM (Virtual Machine) Running windows XP. However the problem I ran into was not getting the fancy growl notifications when I received a PM or Highlight. To solve this issue we at Geekologist have found a way to get mIRC to send notifications to Growl via SSH.

Requirements :

  • plink.exe – It can be download from putty’s download page. (Just google Putty)
  • growlnotify – This is included in the software bundle when you download Growl
  • mIRC (Obvious)
  • SSH enabled on the Mac – (Follow the instructions in the video to do this)
  • Growl installed and running on the mac

mIRC Scripts you will need :

For Highlights :

On $*:Text:*:#: {
if ($highlight($1-)) {
if (($0 == 1) && ($1 isnum)) return
else echo $color(highlight) -ts -Highlight- $nick highlighted you in $chan $+ . ( $+ $replace($1-,$ifmatch, $+ $ifmatch $+ ) $+ )
/run -hide plink.exe -ssh MACIP -l YOURUSERNAME -pw YOURPASSWORD /Users/YOURUSERNAME/growlnotify –image ‘/users/YOURUSERNAME/images.png’ -t ‘ Highlight from $nick ‘ -m ‘ $chan $+ : $replace($1-,$ifmatch, $+ $ifmatch $+ ) $+ ‘ -n ‘ mIRC ‘
}

For PM’s :
On $*:Text:*:?: {
if ($nick == $active) { return }
/run -hide plink.exe -ssh MACIP -l YOURUSERNAME -pw YOURPASSWORD /Users/YOURUSERNAME/growlnotify –image ‘/Users/YOURUSERNAME/images.png’ -t ‘PM from $nick ‘ -m ‘ $1- ‘
}

Please replace YOURUSERNAME with your mac username, YOURPASSWORD with your mac password and MACIP with the IP address of the mac running growl.

If you have any questions or comments please leave them below.

Related posts:

  1. Dock Spaces Review
  2. AT&T/MMS and iPhone OS 3.1
  3. Ubuntu Alpha brings notifications to the mix…

Comments

2 Responses to “Sending Notifications from mIRC to Growl”
  1. Absenth says:

    You’re not a fan of Colloquy? I guess I can see that. Personally I’m using the terminal irc client irssi which doesn’t give me a lot of options for growl notifications.

    I’m a mIRC user from way back in the day. I remember using Trumpet Winsock on a SLIP connection back in 95ish.

  2. Tyler says:

    This is just what I am looking for. It would be awesome if I could get it to work, but so far I have been unsuccessful. I have narrowed down the issue though if you would be able to assist I would really appreciate it. It is not an issue with the script, it is an issue with plink connecting to the ssh server on my mac. When I type this:
    C:\>plink -ssh 192.168.1.100 -l Username -pw password /Users/username/growlnotify test
    It just sits there with a blinking cursor. If however, after waiting for a couple of seconds, I press CTRL-C to stop the task, the growl notification pops up. Very strange. So I can get it to work, but only if I press CTRL-C to stop the task after a couple of seconds, which obviously does me no good for notifying me of IRC PMs.
    Please send an email if you are willing to help, as I said I would greatly appreciate it.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!