Nick responce

By Ovaldo on Aug 03, 2007

When someone says your nick and you aren't on that channel, you will get an echo on your active channel saying that that person is calling you in #channel. Very helpful when/if you use lots of channels!

on *:TEXT:*:#:{
  if ($active = $chan) { return } 
  if ($me isin $1-) echo -a $nick is calling you in $chan on $server
}

;You can also have a friends nick or your nick's abbreviations like so:

;on *:text:*:#:{
if (<Friend's nick ison $chan) && if (Friend's nick isin $1-)
notice <Friend's nick> $nick is calling you in $chan
}

;^^^^^^^^^^^^^^^^^^^^^^^^
;Optional

Comments

Sign in to comment.
Jethro   -  Jan 02, 2010

$active simply means the main window you are chatting in, where you pay attention to.
This should respond to active and private:

on *:TEXT:$($+(*,$me,*)):*:response $1-
on *:ACTION:$($+(*,$me,*)):*:response $1-
on *:NOTICE:$($+(*,$me,*)):*:response $1-
alias -l response {
  if ($comchan($nick,1) != $active) {
    msg $iif($chan,$v1,$me) $nick is calling out to you! 
  }
}
 Respond  
version9   -  Jan 02, 2010

what does $active mean?
+
how do i make it where my bot responds to private messages?

 Respond  
Ovaldo   -  Aug 23, 2007

better??

 Respond  
guest598594   -  Aug 22, 2007

also, add

on *:action:*:#:{
  if ($me isin $1-) echo -a $nick is calling you in $chan
}
 Respond  
Ovaldo   -  Aug 08, 2007

and Callison1 you don\'t need to redo the entire thing.. just add another

if (<Person\'sNick> isin $1-) echo -a $Nick is calling You/ in $chan

and you cal also add an

notice <Person\'sNick> $nick is calling you in $chan

or something

 Respond  
Ovaldo   -  Aug 08, 2007

Yea.. I tried to make it that if I am on the active channel.. Didn\'t really work out for me. but if you want I will fix it up.

 Respond  
Callison1   -  Aug 07, 2007

It is finished, you can find it here: http://www.hawkee.com/snippet/3025/

 Respond  
Callison1   -  Aug 07, 2007

I am now currently working on the aforementioned dialog. I will post it as a snippet when I am finished.

 Respond  
Soulkeeper   -  Aug 07, 2007

Hmm, it would work better if it checked if your name was said in your active chan. Being as lame as I am, I wrote one before...

on :text::#: If ($chan != $active) && ($me isin $1-) { /echo -a { $nick Said Your Name In $chan } }

 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.