Sponsored Links




Topic Options
Rate This Topic
#15 - 08/01/06 01:19 AM MyNick
usrbingeek Administrator Offline
WyldRyde Staff

Registered: 07/31/06
Posts: 513
Loc: Burlington, VT
Originally posted by Helio

This script will copy all mentions of your nick and other words you specify to a window.

NOTE: This works best when you always use the same nick and want to monitor other words.

Code:
on *:TEXT:*:*:{
  if ($me isin $strip($1-)) { alert $nick $chan $network $1- }
  set %counter 1
  while (%counter <= $lines(nick.txt)) {
    if ($read(nick.txt, %counter) isin $strip($1-)) { alert $nick $chan $network $1- }
    inc %counter
  }
}

on *:ACTION:*:*:{
  if ($me isin $strip($1-)) { alert $nick $chan $network $1- }
  set %counter 1
  while (%counter <= $lines(nick.txt)) {
    if ($read(nick.txt, %counter) isin $strip($1-)) { alert $nick $chan $network $1- }
    inc %counter
  }
}

alias alert {
  if (!$window(@MyNickMentioned)) window -ek0wn @MyNickMentioned
  echo -bftl @MyNickMentioned »»» $+(<,$nick,:,$chan,:,$network,>) $4-
  /flash @MyNickMentioned message waiting
} 

Create a file nick.txt and add each word you want monitored. Each should be on its own line. DO NOT separate with commas.

Top
Sponsored Links
Sponsored Links
Member
*****

Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
Top
#2787 - 07/28/08 03:42 PM Re: MyNick [Re: usrbingeek]
KtecK Offline
n00b

Registered: 11/21/07
Posts: 7
Loc: Canada
It seems im getting duplicates when using that script... it varies sometimes 2 and other times 3 or more dupes.

Top
#2793 - 07/29/08 03:20 AM Re: MyNick [Re: KtecK]
usrbingeek Administrator Offline
WyldRyde Staff

Registered: 07/31/06
Posts: 513
Loc: Burlington, VT
It'll do that if you have several parts of your nick in the nick.txt. I can understand that it can be annoying but it's something I just overlook as I never tried to figure out how to stop that without it affecting performance.
_________________________
WyldRyde IRC Network
Steve Mermelstein
Root Admin

#!/usr/bin/geek
My Amazon.com Wishlist

Please no PMs. Please post to a topic instead so your question(s) may benefit others.

Top
#3044 - 08/29/08 08:50 AM Re: MyNick [Re: usrbingeek]
KtecK Offline
n00b

Registered: 11/21/07
Posts: 7
Loc: Canada
Here's a minor addition to the script that i added to my copy (yes it suffers the dupe issue:

Replace:
Code:
/flash @Highlights message waiting


with:
Code:
/flash @Highlights message waiting | /notice $me Message waiting... Channel: $chan - User: $nick - Message: $4-


If you remove the
Code:
 - Message: $4-
it won't have the duplication issue... but that's your choice to not have message shown smile.

It will announce it in the channel you are in for convenience.


Edited by KtecK (08/29/08 08:54 AM)

Top
#3059 - 09/01/08 05:49 AM Re: MyNick [Re: KtecK]
Jonny Offline
n00b

Registered: 08/31/08
Posts: 14
Loc: Newcastle,England,UK
You can do this within the chat client youre using
_________________________
Jonnys Computer Show for the chatshow and technology you love

My Channel: #jonny on WyldRyde

Top


Recent Posts
RSS Feed for Topics
by usrbingeek
01/08/09 11:57 PM
Lost Voice
by ruben32
01/08/09 10:52 AM
Newstracker
by DragonHeart
01/07/09 10:08 AM
Rules for Voiced (+v) users in #Chris
by Christian
01/06/09 09:10 PM
CHannel Support? @ #Chris
by Mataniah
01/06/09 02:38 PM
Accept - Reject Pm script. Final Version.
by Phil
01/06/09 02:04 PM
Script to join channels with 30+ users.
by usrbingeek
01/05/09 02:32 PM
Ustream IRC Auto Identtifyer
by Dark_Aaron
01/05/09 10:42 AM
IRC Bot Platforms
by Sam Ferry
01/05/09 02:58 AM
Get a free forum for your channel!
by Sam Ferry
01/05/09 02:48 AM
Ban Appeal Process
by Sam Ferry
01/05/09 02:36 AM
Flood Protection
by Dark_Aaron
01/03/09 08:14 PM
Recent Pics
Xchat
mIRC on Linux
mIRC on Linux???
Who's Online
1 registered (1 invisible), 12 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
usrbingeek 513
Kat 281
Phil 116
iPhone 109
Freekie 88
Justin 81
CCMike 78
techman224 75
tengrrl 58
wirelesspacket 53
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.