Skip

IRC script to alert based on text in chat
November 18, 2012 9:43 AM   Subscribe

IRC script that will play an audible alert when specific text is mentioned in chatroom

Basicly, if someone says 'fire in the hole!', I would get either an audible beep. If it could send a growl notification that would be handy, but at least and audible alert. I can use whatever irc client the script will work with. mIRC, HexChat, X-Chat, etc.

Thanks!
posted by passtehbrainz to Computers & Internet (6 answers total) 1 user marked this as a favorite
 
I'm pretty sure my XChat dings when somebody mentions one of the strings I have it highlight (at the moment this includes my nick and "meatbags"). Look in Settings -> Chatting -> Alerts, there's a checkbox for "make a beep sound on".

I haven't scripted mIRC in a dog's age, but from what I remember this is probably a builtin there as well.
posted by brennen at 9:59 AM on November 18, 2012


Take a look at Hubot, github's "robot" that can be triggered to do things via events in various chat programs, IRC included. Not sure if there's a script that does what you want yet, but it most certainly can perform actions based on words said in chat, and you might find something suitable, or be able to piece together something that will do what you want, given the examples.
posted by cgg at 10:29 AM on November 18, 2012


This is a feature of virtually every IRC program in existence, I can't think of one that DOESN'T do this.
posted by toomuchpete at 1:53 PM on November 18, 2012 [1 favorite]


This can be done with a pretty simple script in mIRC that'll look something like:
on 1:TEXT:*[your text minus square brackets]*:#:{ /splay yourdir/yourfile.mp3 }
You will probably have to have Sounds enabled in the options.

NOTE: I have never used the /splay command and currently none of my mIRC scripts work at all so this working is all hypothetical.

HexChat lets you script in a bunch of different languages and I think is pretty easy to work with, but I've never written a script for it before.
posted by girih knot at 2:59 PM on November 18, 2012


mIRC's basic Highlight feature will do this-- go to mIRC's addressbook (why it has an addressbook for users, I know not), and there you can set up highlights, and how you'd like mIRC to alert you, be it a beep or soundfile or flashing window, etc.
posted by Sunburnt at 8:53 AM on November 19, 2012


mIRC's basic Highlight feature will do this-- go to mIRC's addressbook (why it has an addressbook, I know not), and there you can set up highlights, and how you'd like mIRC to alert you, be it a beep or soundfile or flashing window, etc.
posted by Sunburnt at 8:54 AM on November 19, 2012


« Older My wife has stomach flu. What ...   |  All my past hook-ups (ex-bf in... Newer »
This thread is closed to new comments.


Post