mIRC Home    About    Download    Register    News    Help

Print Thread
#74983 12/03/04 07:25 PM
Joined: Dec 2002
Posts: 87
Zmodem Offline OP
Babel fish
OP Offline
Babel fish
Joined: Dec 2002
Posts: 87
It'd be nice to have something like this, an identifier that can be used to refer to the log file for the active window, or maybe integrate more than that. For instance:

$logfile(0) pops up the currently active windows that are being logged.
$logfile(1) shows location\logfile.log filename for the 1st active log, and so forth.

Maybe I overlooked something like this already; anyhow, just an idea :-)


-Zmodem
#74984 12/03/04 07:28 PM
Joined: Dec 2002
Posts: 31
N
Ameglian cow
Offline
Ameglian cow
N
Joined: Dec 2002
Posts: 31
how about $window().logfile?

#74985 12/03/04 08:06 PM
Joined: Aug 2003
Posts: 44
C
Ameglian cow
Offline
Ameglian cow
C
Joined: Aug 2003
Posts: 44
I'm using a selfmade $logfile in my popups:
Code:
 
alias logfile {
  if ($active ischan) var %x $chan($active).logfile
  elseif ($query($active)) var %x $query($active).logfile
  if ($isid) { 
    if ($1 == shortfn)  return $shortfn(%x)
    else return %x
  }
  else run %x
}
 

#74986 13/03/04 12:51 AM
Joined: Oct 2003
Posts: 101
Vogon poet
Offline
Vogon poet
Joined: Oct 2003
Posts: 101
$window().logfile is teh win

#74987 13/03/04 04:16 AM
Joined: Dec 2002
Posts: 87
Zmodem Offline OP
Babel fish
OP Offline
Babel fish
Joined: Dec 2002
Posts: 87
Like I said, I merely overlooked this feature ;-) Thanks a lot for the correction.


-Zmodem

Link Copied to Clipboard