mIRC Home    About    Download    Register    News    Help

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

Joined: Dec 2002
Posts: 788
C
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.

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) 

Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Prefix the /f* commands with a period (.fopen, .fwrite, .fclose, etc) )

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


Link Copied to Clipboard