mIRC Home    About    Download    Register    News    Help

Print Thread
S
Smrcek
Smrcek
S
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

Joined: Dec 2002
Posts: 787
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 787
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.

S
Smrcek
Smrcek
S
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) 

I
Iori
Iori
I
Prefix the /f* commands with a period (.fopen, .fwrite, .fclose, etc) )

S
Smrcek
Smrcek
S
thanks thanks alot smile


Link Copied to Clipboard