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
$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!
}
}