mIRC Homepage
Posted By: funfare 'silent' play not working? - 31/12/14 04:28 AM
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?
Posted By: Raccoon Re: 'silent' play not working? - 31/12/14 10:44 AM
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!
Posted By: funfare Re: 'silent' play not working? - 31/12/14 02:19 PM
ah! i see. thanks very much for the workaround.
© mIRC Discussion Forums