mIRC Homepage
Posted By: Smrcek Hide messages when writing to file - 14/12/04 11:06 AM
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
Posted By: Coolkill Re: Hide messages when writing to file - 14/12/04 11:56 AM
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.
Posted By: Smrcek Re: Hide messages when writing to file - 14/12/04 12:11 PM
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) 
Posted By: Iori Re: Hide messages when writing to file - 14/12/04 01:52 PM
Prefix the /f* commands with a period (.fopen, .fwrite, .fclose, etc) )
Posted By: Smrcek Re: Hide messages when writing to file - 15/12/04 12:07 PM
thanks thanks alot smile
© mIRC Discussion Forums