mIRC Home    About    Download    Register    News    Help

Print Thread
#205600 26/10/08 09:23 PM
Joined: Oct 2008
Posts: 36
Rumieus Offline OP
Ameglian cow
OP Offline
Ameglian cow
Joined: Oct 2008
Posts: 36
im using mirc v6.34
when i uncheck the 'enable sounds' in mirc option > sounds.
there's no sound playing when using /splay.

But in mirc 6.21, the /splay command still playing sound eventho the 'enable sounds' option is disabled.

So my question is:
1. You must check the 'enable sounds' in order to use /splay in mirc 6.34?

2. how do you turn on the 'enable sounds' using command, i didnt find any in help file under mirc commands.


There's if in LIFE

Rumieus #205601 26/10/08 09:36 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Yes you must.
The Sounds dialog now affect all sounds.

To my knowledge, there is no command to enable/disable the sounds, so it has to be done via the Options dialog.

Rumieus #205602 26/10/08 09:38 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Quote:
2. how do you turn on the 'enable sounds' using command, i didnt find any in help file under mirc commands.

/ebeeps on


Spelling mistakes, grammatical errors, and stupid comments are intentional.
starbucks_mafia #205603 26/10/08 09:44 PM
Joined: Oct 2008
Posts: 36
Rumieus Offline OP
Ameglian cow
OP Offline
Ameglian cow
Joined: Oct 2008
Posts: 36
nice~ tq both u guys for quick reply.


There's if in LIFE

Rumieus #205604 26/10/08 10:14 PM
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
I'm using the following alias here and there, to "bypass" (toggle) sound ($ebeeps) settings for certain sound notifications, e.g. important events while "regular" sounds are switched off (afk or the like). Maybe it's of use for you...

Code:
/*
Syntax: /hardsplay [-cwmpq] <soundfile|stop|skip> 
= Regular syntax of /splay, supporting all switches and the stop/skip parameters. Pause / resume / seek are NOT supported.
*/

alias hardsplay {
  if (!$1) { echo -sg Hardsplay: invalid parameters. Syntax: /hardsplay [-cwmpq] <soundfile|stop|skip> }
  else {
    if (($gettok($1-,-1,32) == stop) || (($left($1,1) == -) && (c isin $1))) { unset %hardsplay.* }
    if (($inwave) || ($insong) || ($inmidi)) { 
      if ($gettok($1-,-1,32) == skip) { splay $1- | hardsplay.queue | return }
      elseif (($left($1,1) == -) && (q isin $1)) {
        set -e $+(%,hardsplay.,$calc($gettok($var(hardsplay.*,$var(hardsplay.*,0)),-1,46) +1)) $remove($1,q) $2-
        return
      }
    }
    if (!$ebeeps) { .ebeeps on | .timer -m 1 1 .ebeeps off } 
    splay $1-
  }
}

on *:midiend: { hardsplay.queue }
on *:waveend: { hardsplay.queue }
on *:mp3end: { hardsplay.queue }

alias -l hardsplay.queue { 
  if ($var(hardsplay.*,1).value) { hardsplay $v1 | unset $var(hardsplay.*,1) }
}

Last edited by Horstl; 26/10/08 10:21 PM.

Link Copied to Clipboard