mIRC Homepage
Posted By: gomp Loade status log from "popup", help me do it? - 13/02/08 08:16 AM
I know this will not work. But something like this is what I am trying to do:

Code:
menu status {
  Log:run $chan($active).logfile
  -
}


I get this:

Code:
* /run: unable to open '39'


When I try it, BTW.

Help? smile
run $chan($active).logfile

that would look like: #channel.logfile

look in your logs folder how the files are named, then let mirc have the path to your log file.. C:\mirc\logs or what you have for path to it.
wouldnt
Code:
menu channel {

be more appropriate?

and not status window ?

ps. works for me.
yeh, of course when loading a channel logfile it would be appropriate to use the channel menu lol
No. I would like it to be possible to right click in the status window. Press "log" and then open the log. Like I got in the channels, using:

Code:
menu channel {
  Log:run $chan($active).logfile
  -
}


Now I would like to have that same option in the status window.

But:

Code:
menu status {
  Log:run $chan($active).logfile
  -
}


..does not do the trick.
Hum.. I am not that good at scripting. Not sure what you mean.

But, I am on 3 different serves, all the time. So I got 3 status windows. And the paths are like: C:\Programfiler\mIRC\logs\EFNet
C:\Programfiler\mIRC\logs\AccessIRC, and C:\Programfiler\mIRC\logs\DalNet ..

So I am looking for a "allround" solution, not just for one spesific log file.

Anyone know what I mean?

smile
LOL .. I am funny at times. This was really simple to do.

Just had to learn to spell. :p

I knew it was simple.

Here is the code: If others wonder..

Code:
menu status {
  Log:run $window($active).logfile
}
© mIRC Discussion Forums