mIRC Home    About    Download    Register    News    Help

Print Thread
Hiding client-generated messages in /play #238058 27/06/12 09:55 AM
Joined: Sep 2003
Posts: 34
K
koitsu Offline OP
Ameglian cow
OP Offline
Ameglian cow
K
Joined: Sep 2003
Posts: 34
Hi. I currently use /play -t to output certain texts to a channel, but there are always mIRC-generated "Playing topic..." and "Playback of..." messages shown in the client. Example:

Code:
* Playing topic 'blah' from 'testing.txt' to #channel with 0ms delay
[02:42] > Test line 1
[02:42] > Test line 2
[02:42] > Test line 3
* Playback of 'testing.txt' complete


Does anyone know how to inhibit (squelch) those two lines? There doesn't appear to be a flag for it. Ideas?

Re: Hiding client-generated messages in /play [Re: koitsu] #238059 27/06/12 10:01 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
use a ".", the dot will prevent the start/stop text from showing, same goes for timers and so on..

. without the " " ..


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: Hiding client-generated messages in /play [Re: sparta] #238062 27/06/12 03:48 PM
Joined: Sep 2003
Posts: 34
K
koitsu Offline OP
Ameglian cow
OP Offline
Ameglian cow
K
Joined: Sep 2003
Posts: 34
Fantastic -- thank you.

Is this documented anywhere? Sadly searching the mIRC help document is painful in this regard. I'm wondering if I missed something, or possibly an entire section which I should read. :-)

Again, thank you!

Re: Hiding client-generated messages in /play [Re: koitsu] #238064 27/06/12 05:47 PM
Joined: Jan 2004
Posts: 1,286
L
Loki12583 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,286
This behavior is noted under the "Command prefixes" on the Aliases help page.

Re: Hiding client-generated messages in /play [Re: koitsu] #238065 27/06/12 07:14 PM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Also, /help command prefixes brings you to that section.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"