mIRC Home    About    Download    Register    News    Help

Print Thread
#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?

Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
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!
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.


Link Copied to Clipboard