That worked well - and I know I am probably getting on everyones nerves big time... But what I want I've seen in scripts/addons but I dont need all the other stuff in them.
In summary of What I'm trying to do is this:
1. changed the < > around the nicks (done)
2. beep when a new query window is opened (done)
3. beep when someone types in that query window when its not in focus (done) - but I do not want it beeping when the query window is in focus.
4. Have the query window 'flash' when text is entered - and not in focus / active.
5. Have it display the name of the person that sent the PM/Query when mIRC itself it not the focus/active application or even if minimized. and/or if I'm in a normal channel and still have that query open - still allow it to flash/beep for me to gain my attention... This is I have with 99.9% of you help:
If you can help - I would greatly appreciate it. I also can not seem to find all these commands we're using anywhere - so i'm clueless to what to try.
on *:open:?:{
if (!$hget(msged,$site)) {
beep 5
flash $+ $nick
;splay $mircdirsounds/page.wav
hinc -m msged $site
hinc -u1 msged temp
}
}
on *:text:*:?:{
if ($active != $nick) && (!$hget(msged,temp))
;splay $mircdirsounds/default.wav
flash $+ $nick
beep 1
}
;FOR CHANNELS
on ^*:text:*:#:{
echo -t $chan $chr(32) $+ 10 $+ $nick $+ $chr(32) $+ $chr(93) $+ $chr(58) $+ $1-
haltdef
}
;FOR PRIVATE MESSAGES
on ^*:text:*:?:{
echo -t $nick $chr(32) $+ 10 $+ $nick $+ $chr(32) $+ $chr(93) $+ $chr(58) $+ $1-
haltdef
}
;FOR YOUR OWN NICKNAME IN CHANNEL
on *:INPUT:#: { if (/* !iswm $1) || ($ctrlenter) {
echo -t $chan $chr(32) $+ 8 $+ $me $+ $chr(32) $+ $chr(93) $+ $chr(58) $+ $1-
.msg $chan $1-
haltdef
}
}
;FOR PRIVATE MESSAGES FOR SELF
on 1:INPUT:?: { if (/* !iswm $1) || ($ctrlenter) {
echo -t $chr(32) $+ 8 $+ $me $+ $chr(32) $+ $chr(93) $+ $chr(58) $+ $1-
.msg $active $1-
haltdef
}
}
;on ^*:ACTION:*:#:{
; echo -t $chan $chr(32) $+ 7 $+ $nick $+ $chr(32) $+ $chr(93) $+ $chr(58) $+ $1-
; haltdef
;}
;on ^*:NOTICE:*:*:{
; echo -t $chan $chr(32) $+ 7 $+ $nick $+ $chr(32) $+ $chr(93) $+ $chr(58) $+ $1-
; haltdef
;}
;on *:NOTICE:*:*: { beep 1 }