mIRC Home    About    Download    Register    News    Help

Print Thread
#50617 21/09/03 05:31 PM
Joined: Jul 2003
Posts: 8
L
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
L
Joined: Jul 2003
Posts: 8
Im sorry if this has been posted before, i have been looking through the help file and the commands list here on the page but i cant find the command to read a log file, so if anyone could help me i would be glad.

#50618 21/09/03 05:32 PM
Joined: Sep 2003
Posts: 3
P
Self-satisified door
Offline
Self-satisified door
P
Joined: Sep 2003
Posts: 3
i always thought that was part of the options.

#50619 21/09/03 05:33 PM
Joined: Jun 2003
Posts: 384
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2003
Posts: 384
To my knowledge, mIRC doesn't have a built-in log viewer. I've always read them in notepad smile

#50620 21/09/03 05:33 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
There isn't a special command, but you can use //run $logdir $+ $mklogfn($active) to open the log in the program associated with .log files.

#50621 21/09/03 05:41 PM
Joined: Sep 2003
Posts: 3
P
Self-satisified door
Offline
Self-satisified door
P
Joined: Sep 2003
Posts: 3
well, i go to the options, and choose the log i wanna see and click view, but then again, it opens it in notepad. =\

#50622 21/09/03 05:52 PM
Joined: Dec 2002
Posts: 155
S
Vogon poet
Offline
Vogon poet
S
Joined: Dec 2002
Posts: 155
alias logread {
var %logfile = $+($chr(34),$$sfile($logdir*.log,Select Log File,Read it),$chr(34))
var %logwin = $iif($chr(32) isin $nopath(%logfile),$nopath($shortfn(%logfile)),$nopath(%logfile))
window -dk[0] @ $+ %logwin
loadbuf 1- $+ $lines(%logfile) -p @ $+ %logwin %logfile
}

Just type /logread after putting that code in your remotes. This will open an mIRC custom window, and therefore you'll be able to see the effect of color and other control codes if you are logging them.

#50623 25/09/03 04:43 AM
Joined: Dec 2002
Posts: 122
S
Vogon poet
Offline
Vogon poet
S
Joined: Dec 2002
Posts: 122
//run $logdir


Link Copied to Clipboard