mIRC Home    About    Download    Register    News    Help

Print Thread
'silent' play not working? #250047 31/12/14 04:28 AM
Joined: Nov 2013
Posts: 22
funfare Offline OP
Ameglian cow
OP Offline
Ameglian cow
Joined: Nov 2013
Posts: 22
I'm running mIRC 7.38.

If I try to play a file via .play (to silence it)

Code:
on *:TEXT:banner:?:{
  .play $nick banner.txt 250
}


..I still see it in my window. It doesn't silently play. Why is this?

Re: 'silent' play not working? [Re: funfare] #250051 31/12/14 10:44 AM
Joined: Feb 2003
Posts: 2,733
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,733
In the case of /.play, the '.' suppresses the status messages of /play starting and stopping, much like the messages of /timer starting and stopping. Similarly, using /.timer doesn't hide the actual /msg's or /notice's sent by it. These are the origins of /play.

A work-around solution, use the -a switch, and specify .msg for the alias. Example:

.play -a .msg $nick banner.txt 250

This will hide both the activity of /play starting and stopping, as well as the /msg output. Enjoy!


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: 'silent' play not working? [Re: Raccoon] #250052 31/12/14 02:19 PM
Joined: Nov 2013
Posts: 22
funfare Offline OP
Ameglian cow
OP Offline
Ameglian cow
Joined: Nov 2013
Posts: 22
ah! i see. thanks very much for the workaround.