Nick Notification

By DarkNES on Mar 20, 2008

This snippet will notify you and force you to open the window where someone states your nick. I useful for those on multiple networks at a time. Just load into Remotes, and you should be all set.

;;Nick Notification by DarkNES;;
on *:TEXT:*:#: {
  if ($me isin $strip($1-)) {
    .set %noticechan $chan
    .timer 1 3 dialog -ma NickNotice NickNotice
    .echo $color(notice) -a $+(-,$me,-) $nick on $chan wants to speak with you.
 }
}
Dialog NickNotice {
  title "Nick Notice"
  size -1 -1 75 45
  option dbu
  button "Yes", 1, 10 30 25 10, style ok
  button "No", 2, 40 30 25 10, style cancel
  text "Goto the window?", 3, 16 8 45 10
}
on *:DIALOG:NickNotice:sclick:1:{ .window -x %noticechan | unset %noticechan  }
on *:DIALOG:NickNotice:sclick:2:{ unset %noticechan }

Comments

Sign in to comment.
DarkNES   -  Mar 20, 2008

Well, it\'s basic. Mainly just for those who need something simple to use, that\'s not too technical.

 Respond  
DarkNES   -  Mar 20, 2008

I added a timer on the dialog popup so that you had some time to know who it was, and whether to accept it or not.

 Respond  
DarkNES   -  Mar 20, 2008

Heh, I haven\'t had any sleep all night. Btw, nice ideas. I was going to implement them eventually, however, I\'ve been working on a bot. But ya, it should be of more use now ;x

 Respond  
Eugenio   -  Mar 20, 2008

:o Mines ten time better =]
/me rates 1/10 xD

 Respond  
DarkNES   -  Mar 20, 2008

Ya.. I just made it for people to say \"Your Nick\" only. Just as a notice, not a msg forwarder ;x

 Respond  
F*U*R*B*Y*   -  Mar 20, 2008

um, if i do

Yournick, message

won\'t pick it up, dued to the comma, therefore not really good.

Secondly it only picks up first word...

 Respond  
EL   -  Mar 20, 2008

Ahh the echo -a will work if you timer the window to change.

on *:TEXT:*:#: {
  if ($1 == $me) {
    .timer 1 2 .window -x $chan 
    .echo $color(notice) -a $+(-,$me,-) $nick on $chan wants to speak with you.
  }
}

Also had another idea,maybe havea choice if you want to change windows or ignore the message.Justa thought.Small dialog auto pop up with what they said an where an such yes no button maybe a ignore feature.

 Respond  
EL   -  Mar 20, 2008
on *:TEXT:*:#: {
  if ($1 == $me) {
    .window -x $chan 
    .echo $color(notice) $chan $+(-,$me,-) $nick on $chan wants to speak with you.
  }
}

Change the -a to $chan and it wont echo in your status window.make in on action as well some ppl are weird and say nicks with actions.Flood protection is a must will all things.Other then that its not bad.\'\'Rate it or Hate it?\'\'...4/10.`-.-

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.