mIRC Home    About    Download    Register    News    Help

Print Thread
/splay and /beep do not work if /ebeeps is off. #179317 21/06/07 04:09 AM
Joined: Feb 2005
Posts: 342
R
Rand Offline OP
Fjord artisan
OP Offline
Fjord artisan
R
Joined: Feb 2005
Posts: 342
It appears that you can not play a sound file if you have ebeeps disabled. Using version 6.21.

Example
/ebeeps off
//splay $qt($sfile($mircdir))

The file will not play.

/ebeeps on
//splay $qt($sfile($mircdir))

The file plays.

I've tried this by entering just the file name by hand (no identifiers), and used separate files for the tests. Same outcome.


Re: /splay and /beep do not work if /ebeeps is off [Re: Rand] #179320 21/06/07 06:41 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
THIS IS NOT A BUG

From the help file
Quote:
/ebeeps [on | off]
Enables or disables the sounds in the Sounds dialog.
From the versions.txt file
Quote:
81.Disabling sounds in the Sounds dialog now does actually disable all sounds, even those using /splay or /beep.



Re: /splay and /beep do not work if /ebeeps is off [Re: Rand] #179321 21/06/07 06:45 AM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
http://www.mirc.co.uk/whatsnew.txt

Quote:
We hope to have smashed the confusing 'flash' and 'beep' options by adding a "Default" menu item to System Menu Flash/Beep items, allowing channel/query/chat windows to use the default settings as set in the Options/Sounds dialog. And disabling sounds in the Sounds dialog now does actually disable -all- sounds, even those using /splay or /beep. ;-)

Quote:

81.Disabling sounds in the Sounds dialog now does actually disable all sounds, even those using /splay or /beep.


Edit: too late :P

Last edited by 5618; 21/06/07 06:46 AM.
Re: /splay and /beep do not work if /ebeeps is off [Re: 5618] #179322 21/06/07 07:47 AM
Joined: Feb 2005
Posts: 342
R
Rand Offline OP
Fjord artisan
OP Offline
Fjord artisan
R
Joined: Feb 2005
Posts: 342
Hmm, must have overlooked that. Either way, I'm not too happy about it.


Re: /splay and /beep do not work if /ebeeps is off [Re: Rand] #179323 21/06/07 08:03 AM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Specific sound events should be set up individually not to have any sounds associated with them. That way you will not have a problem with /ebeeps. And otherwise you should just flank your command with turning them on and off.
If you have some situation where it would conflict, I'd be happy to hear it.

Re: /splay and /beep do not work if /ebeeps is off. [Re: Rand] #179330 21/06/07 12:09 PM
Joined: Dec 2002
Posts: 2,024
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,024

Re: /splay and /beep do not work if /ebeeps is off [Re: Rand] #179340 21/06/07 07:41 PM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Quote:
And otherwise you should just flank your command with turning them on and off.

Here, an "$ebeeps" would help a lot - to restore the setting changed.

Re: /splay and /beep do not work if /ebeeps is off [Re: Horstl] #179365 22/06/07 01:33 AM
Joined: Jun 2006
Posts: 508
D
deegee Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Originally Posted By: Horstl
Quote:
And otherwise you should just flank your command with turning them on and off.

Here, an "$ebeeps" would help a lot - to restore the setting changed.

Yes, an $ebeeps would be very useful.
As it is you can mess with hidden @windows and some method of "/sleep", or read $mircini but you'd need to /saveini first. Both methods being slow.
  • //saveini | echo -a $gettok($readini($mircini,options,n5),15,44)


Re: /splay and /beep do not work if /ebeeps is off [Re: deegee] #182952 17/08/07 01:58 AM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Now (mIRC v6.3) we heve our $ebeeps smile