I am working on a notice script, but I want it to only /notice me in the channel I am viewing at the time of the on TEXT. Right now it /notices me in all the channels I have running. Can anyone help me?
is there any reason for using the notice command why not just use echo -a $nick $+ ( $+ $chan $+ ) $1-. it will do the same job and only send to the currently active window.
Code:
on 1:TEXT:*quig*:#: {
if ($chan == $active) return
/echo -a $nick $+ ( $+ $chan $+ ) $1-
beep 5 100
}
[REMOTE]
on 1:TEXT:*quig*:#: {
if ($chr(35) isin $active) { return }
; this is if # is in the active window name, then it will stop.
else echo -a $nick $+ ( $+ $chan $+ ) $1- | beep 5 100
; or notice $me $nick $+ ( $+ $chan $+ ) $1- | beep 5 100
}