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: 470
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: 470
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 Online   sleepy
n00b

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

Top


Recent Posts
Rules for Voiced (+v) users in #Chris
by Axlin
Yesterday at 05:36 PM
WyldRyde Channel Management Script **BETA**
by usrbingeek
11/19/08 12:35 AM
Saying Hello
by cirian75
11/18/08 02:13 PM
Multiple Network question
by usrbingeek
11/16/08 10:00 PM
Recruiting new ops and half ops in #iPhone
by techman224
11/14/08 07:09 PM
Common Commands Script
by burace17
11/14/08 02:55 PM
Rules for Voiced Users being Enforced More
by abcd
11/14/08 08:33 AM
New bot policy
by Freekie
11/11/08 10:11 PM
my favorite channels on WR
by sbushfan11
11/10/08 05:42 AM
Volunteer Half-Op Positions Available In My New Ch
by mikem
11/08/08 03:16 PM
Script Bots. Need One?
by Samuel
11/07/08 10:10 PM
Services Help Version 2.4
by Jerry
11/06/08 09:41 PM
Recent Pics
mIRC on Linux???
Computer Spam o_O
My Windows Desktop
Who's Online
1 registered (Ryan), 5 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
usrbingeek 469
Kat 266
iPhone 108
Phil 91
Freekie 85
techman224 75
CCMike 73
Justin 70
tengrrl 55
wirelesspacket 52
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.