mIRC Home    About    Download    Register    News    Help

Print Thread
Hide messages when writing to file #105264 14/12/04 11:06 AM
Joined: Dec 2004
Posts: 8
S
Smrcek Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Dec 2004
Posts: 8
Hello,

when writing to files, it outputs status and "wrote 57 bytes to file blah.txt...". Since i will call that with a timer, every 10 minutes, i want to hide that status. So it will write to the file, but will display no notices of any kind.

What command do i use?

Thank you, and great program btw grin

Re: Hide messages when writing to file #105265 14/12/04 11:56 AM
Joined: Dec 2002
Posts: 788
C
Coolkill Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
No messages appear like that when using /write so you might be echoing it yourself in which case commenting the line that says that will stop it.

Eamonn.

Re: Hide messages when writing to file #105266 14/12/04 12:11 PM
Joined: Dec 2004
Posts: 8
S
Smrcek Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Dec 2004
Posts: 8
This is in aliases.ini

Code:
 
/writeuptime {
  /fopen -o writeuptime writeuptime.txt
  /fwrite writeuptime $uptime(server,1) ; $uptime(system,1)
  /fclose writeuptime
}
 


it outputs the next 3 lines:
Code:
 * fopen created 'writeuptime' (C:\Program Files\mIRC\writeuptime.txt)
* fwrite wrote 56 bytes to 'writeuptime'
* fclose closed 'writeuptime' (C:\Program Files\mIRC\writeuptime.txt) 

Re: Hide messages when writing to file #105267 14/12/04 01:52 PM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Prefix the /f* commands with a period (.fopen, .fwrite, .fclose, etc) )

Re: Hide messages when writing to file #105268 15/12/04 12:07 PM
Joined: Dec 2004
Posts: 8
S
Smrcek Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Dec 2004
Posts: 8
thanks thanks alot smile