mIRC Home    About    Download    Register    News    Help

Print Thread
#35597 11/07/03 02:45 AM
Joined: Jul 2003
Posts: 4
D
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Jul 2003
Posts: 4
I'm having problems getting MIRC to beep on Query Windows.

I have enabled Sounds and I have set Beep on Query Message but I'm not getting any beeps when people message me on a open query box when it is not the active window.

I have also right clicked on the Switchbar and set the specific persons query to beeping but it's still not working.

The only way I can get it to work is if I set to Use Internal Speaker, but then the sound is just a little ping...

Anyone? I have no other sound issues. In fact when people first query me I do hear a sound it's just a problem when the query is already open and it's not an active window.

#35598 11/07/03 02:55 AM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Have you got the two edit boxes to the right of the three checkboxes filled out?

I have:
Code:

    [X] Enable sounds

    [Combo box for other events]^]


    [ ] Channel                                         Beeps:   [5  ]

    [X] Query                                           Delay:   [100]

    [ ] Message while in buffer


    [X] Use internal beep             [ ] Use PC speaker

#35599 11/07/03 03:12 AM
Joined: Jul 2003
Posts: 4
D
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Jul 2003
Posts: 4
Here is a screenshot of my current settings.



When it's set to internal beep I get a tin sounding beep from the internal speaker from my computer if I set it to use pc speaker I get no sound, if I have neither checked I get no sound.

I have seen a couple different posts with people having problems with Event Beep on Windows XP. I'm running XP as well.

#35600 11/07/03 03:17 AM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Hmmm strange. The tinny sound is the right one but it should come through on the stereo speakers by my reckoning.

#35601 11/07/03 03:36 AM
Joined: Jul 2003
Posts: 4
D
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Jul 2003
Posts: 4
Well after searching through all the messages on here I was able to find a script someone made to make specific beeps for specific channels/queries and the like.

I don't know who made it but it's working exactly the way I need it if I have MIRC minumized I hear my sound for the specific person and if I have the channel up I don't hear it.

Here it is for anyone else that runs into this issue.

Code:
 
; Data management - Read/Write/Delete
;
alias CustomBeep {
  if ($isid) return $readini(MyBeepSettings.ini,CustomBeeps,$1)
  elseif ($1 == -r) remini MyBeepSettings.ini CustomBeeps $2
  else writeini MyBeepSettings.ini CustomBeeps $1 $+(",$$sfile($wavedir*.wav,Load custom beep,New Beep),")
}
; User Interface - Dynamic Popups
;
menu channel {
  -
  .$iif($CustomBeep($chan),Change,Add) Beep: CustomBeep $chan
  .$iif($CustomBeep($chan),Remove Beep): CustomBeep -r $chan
}
menu query,nicklist,menubar {
  -
  .$iif($CustomBeep($1),Change,Add) Beep: CustomBeep $1
  .$iif($CustomBeep($1),Remove Beep): CustomBeep -r $1
}
; Script Engine
;
on *:TEXT:*:?: CBeep $nick
on *:TEXT:*:#: CBeep $chan
;
; Provide a way to continue the currently splaying MP3 (if there is one)
;
; NOTE: This section could interfere with any other MP3 players
; that use mIRC to /splay a random or playlist MP3.
;
alias CBeep {
  if ((!$CustomBeep($1)) || ($active == $1)) return
  if (($right($insong.fname,4) == .mp3) && (!%InSong.FName)) {
    set -u600 %InSong.FName = $+(",$insong.fname,")
    set -u600 %InSong.Pos = $insong.pos
    .splay -p stop
  }
  .splay $CustomBeep($1)
}
on *:MIDIEND: Continue.MP3
on *:WAVEEND: Continue.MP3
on *:MP3END: Continue.MP3
alias Continue.MP3 {
  if (!%InSong.FName) return
  .splay %InSong.FName
  .splay seek %InSong.Pos
  unset %InSong.*
 

#35602 11/07/03 05:34 AM
Joined: Jul 2003
Posts: 4
D
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Jul 2003
Posts: 4
One problem I've run into with this script is if the query is the active window but I have minumized MIRC I don't get a beep.

Is there something I can change/add to make it still beep even if it's the active window BUT only if MIRC is minumized?


#35603 11/07/03 09:50 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
or you cud use.

on *:TEXT:*:?:{
/beep
}


new username: tidy_trax
#35604 11/07/03 11:35 AM
Joined: May 2003
Posts: 215
Fjord artisan
Offline
Fjord artisan
Joined: May 2003
Posts: 215
Code:
on *:TEXT:*:?: {
  if ($appstate == minimized) { beep }
} 


Edit: I forgot to add, if you're using a custom theme, try prefixing the /echo command with -b to enable the beeping fucntion.

Last edited by lammkott; 11/07/03 11:37 AM.

- Jason

Link Copied to Clipboard