It is currently April 19th, 2024, 3:37 am

AlertIRC

RSS, ATOM and other feeds, GMail, Stocks, any information retrieved from the internet
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

AlertIRC

Post by jsmorley »

A little skin to read the most recent message from your IRC log. If the message is "new", then the top half of the alert bar will be green. If the message body contains your IRC "nick", (and isn't "from" you) then the bottom half of the alert bar will be red.

The alert colors will stay until you click anywhere on the skin to "acknowledge" the alert. That may mean the current message being displayed is not to "you", but there has been one with your nick in it since you last "acknowledged" the alerts.

An optional sound will be played when a new message containing your "nick" is received.

Check the [Variables] section to set the location of your IRC client's log file, your "nick" and a toggle for the sound effect.
AlertIRC_1.0.rmskin
1.jpg
Note that this was tested on X-Chat, and I'm fair to middling confident it will work with mIRC, but can't swear about other IRC client logs.
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: AlertIRC

Post by jsmorley »

Fixed a string case issue when checking for your "nick" and some other general clean-up.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: AlertIRC

Post by jsmorley »

Added SkipSystem variable to cause the parser to skip lines that are not an actual message from a <nick>. This will skip comments, join/quit notices and entries from bots like NickServ and ChanServ.

Set this to 0 or 1 to control.
Crest
Posts: 114
Joined: August 16th, 2013, 12:47 pm

Re: AlertIRC

Post by Crest »

Brilliant idea. Have often thought some IRC notifier would be a neat concept.

Haven't tested it yet as I'm running an older version of RM currently, but I'm assuming this would only work per-channel/network depending on whether one has configured log files in their client to be placed in separate files/directories.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: AlertIRC

Post by jsmorley »

Correct.