mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
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


I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
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.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: May 2003
Posts: 41
D
Ameglian cow
Offline
Ameglian cow
D
Joined: May 2003
Posts: 41
wouldnt
Code:
menu channel {

be more appropriate?

and not status window ?

ps. works for me.


If At First You Don't Succeed, Ask Someone For Help......
Joined: Mar 2006
Posts: 395
T
Pan-dimensional mouse
Offline
Pan-dimensional mouse
T
Joined: Mar 2006
Posts: 395
yeh, of course when loading a channel logfile it would be appropriate to use the channel menu lol


[02:16] * Titanic has quit IRC (Excess Flood)
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
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.


I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
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

Last edited by gomp; 03/03/08 02:27 PM.

I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
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
}


I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.

Link Copied to Clipboard