mIRC Home    About    Download    Register    News    Help

Print Thread
mirc logging feature help #186950 29/09/07 05:57 AM
Joined: Jan 2007
Posts: 31
P
piker Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Jan 2007
Posts: 31
is there any commandline command to enable logging on all channels?
or does anybody know how could I make a
/logchannels on
/logchannels off
/logprivates on
/logprivates off
/logstatus on
/logstatus off
?
any ideas apreciated smile

Re: mirc logging feature help [Re: piker] #186952 29/09/07 07:36 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
From /help /log
Quote:
/log <on|off> <window> [-f filename]

Turns logging on and off for a window, if you specify a filename the logs file dialog is not popped up.


For channels use the channel name for <window>
For private messages use the person's nick
For status use "Status Window" (quotes are REQUIRED)

Re: mirc logging feature help [Re: RusselB] #187268 02/10/07 02:28 PM
Joined: Jan 2007
Posts: 31
P
piker Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Jan 2007
Posts: 31
no you don't understand
I mean like

/logallprivates
it'll log any privates I can receive automatically
/logallchans
will log all the channels
and so on

Re: mirc logging feature help [Re: piker] #187294 02/10/07 11:12 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I do understand, and what I showed you is the closest that is built into mIRC. If you want something more specific, it's going to have to be scripted.

Re: mirc logging feature help [Re: piker] #187321 03/10/07 01:32 PM
Joined: Mar 2003
Posts: 612
B
billythekid Offline
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
you could do something like

alias logallchans {
var %i 0
while %i < $chan(0) {
inc %i
log on $chan(%i) -f $+($chan,.log)
}
}

on *:text:*:?:{
if !$window($nick).logfile {
log on $nick -f $+($nick,.log)
}
}

but isn't it better to just turn on logging for all(options/irc/logging/automatically log/both)?

btk

a $logging addition might be nice to have though.

$logging(window/chats/channels/both)

Last edited by billythekid; 03/10/07 01:34 PM.

billythekid
Re: mirc logging feature help [Re: billythekid] #187387 04/10/07 04:17 PM
Joined: Jan 2007
Posts: 31
P
piker Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Jan 2007
Posts: 31
you sort of understood what I meant.

Code:
;example
dialog kool_example {
  title "EXAMPLE"
  size -1 -1 97 82
  option dbu
  box "Logging", 1, 2 3 50 72
  button "Close", 2, 56 29 37 12, cancel
  text "Log All Channels", 3, 4 11 43 8
  text "Log All Privates", 4, 4 33 43 8
  text "Log status", 5, 5 52 43 8
  button "ON", 6, 4 19 20 12
  button "OFF", 7, 25 19 18 12
  button "ON", 8, 5 61 20 12
  button "OFF", 9, 26 61 18 12
  button "ON", 10, 5 39 20 12
  button "OFF", 11, 26 39 18 12
}
alias loggingexample dialog -mod kool_example kool_example 
on *:dialog:kool_example:init:0:echo -a meow





so what I want to do is to enable simplify the logging features to the way it apears on the dialog =o

Last edited by piker; 04/10/07 04:18 PM.