mIRC Homepage

Loade status log from "popup", help me do it?

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
Posted By: sparta

Re: Loade status log from "popup", help me do it? - 13/02/08 08:35 AM

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.
Posted By: Damsulegna

Re: Loade status log from "popup", help me do it? - 13/02/08 05:59 PM

wouldnt
Code:
menu channel {

be more appropriate?

and not status window ?

ps. works for me.
Posted By: The_JD

Re: Loade status log from "popup", help me do it? - 14/02/08 02:53 AM

yeh, of course when loading a channel logfile it would be appropriate to use the channel menu lol
Posted By: gomp

Re: Loade status log from "popup", help me do it? - 03/03/08 02:23 PM

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.
Posted By: gomp

Re: Loade status log from "popup", help me do it? - 03/03/08 02:27 PM

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
Posted By: gomp

Re: Loade status log from "popup", help me do it? - 03/03/08 02:36 PM

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
}
© 2021 mIRC Discussion Forums