mIRC Home    About    Download    Register    News    Help

Print Thread
New Identifier: $readlog to read sessions of a log #2696 20/12/02 11:00 AM
Joined: Dec 2002
Posts: 580
N
NaquadaServ Offline OP
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
I propose a new identifer that can read the sessions of a log file....

$readlog(filename, S, N)
S is the session number, if 0 returns number of sessions
N is the line number of that session, if 0 returns number of lines in a session

Example:

$readlog(SampleFileBelow, 1, 0) = 1
$readlog(SampleFileBelow, 1, 1) = <X> This is session 1...
$readlog(SampleFileBelow, 2, 0) = 1
$readlog(SampleFileBelow, 2, 1) = <X> This is session 2...

--- Sample Log File ----
Session Start: Wed Dec 11 15:25:53 2002
Session Ident: X
Session Ident: X (X@X.com)
<X> This is session 1...
Session Close: Thu Dec 19 22:02:36 2002

Session Start: Wed Dec 11 15:25:53 2002
Session Ident: X
Session Ident: X (X@X.com)
<X> This is session 2...
Session Close: Thu Dec 19 22:02:36 2002


NaquadaBomb
www.mirc-dll.com
Re: New Identifier: $readlog to read sessions of a log #2697 20/12/02 11:02 AM
Joined: Dec 2002
Posts: 18
W
watcher Offline
Pikka bird
Offline
Pikka bird
W
Joined: Dec 2002
Posts: 18
Sounds like useless to me. And you can do that with scripts. ;p


-watcher
Re: New Identifier: $readlog to read sessions of a log #2698 20/12/02 11:18 AM
Joined: Dec 2002
Posts: 580
N
NaquadaServ Offline OP
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
You can do anything with scripts and DLLs, the point is not to have too... duh. wink

Might seem useless to you, but you probably don't want to be able to manage your log files as well as I do... smile

Last edited by NaquadaServ; 20/12/02 11:20 AM.

NaquadaBomb
www.mirc-dll.com
Re: New Identifier: $readlog to read sessions of a log #2699 20/12/02 12:04 PM
Joined: Dec 2002
Posts: 774
T
theRat Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
$readlog would be identifier? So you'd still have to script a lot, I think that making the code for the identifier yourself would be the smallest part of some über 1337 log script, if it's going to have any use. Of course it would be a bit slower, but scripts and file operations are always slow.

How many mIRC scripters you know that actually need this kind of feature so much, but still not enough to script it?
How many mIRC scripters you know that would use the identifier when they've already made one customed to their needs?

Last edited by theRat; 20/12/02 12:05 PM.

Code:
//if ( khaled isgod ) echo yes | else echo no
Re: New Identifier: $readlog to read sessions of a log #2700 20/12/02 12:46 PM
Joined: Dec 2002
Posts: 580
N
NaquadaServ Offline OP
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
Why can't you people understand? I know it can be scripted, I have already scripted this, that is not the problem. Just because it CAN be done with scripts doesn't mean it shouldn't be an internal mirc identifer...

Please, No more negative comments if all you are going to basiclly say is "Who would use it?", I would and that is enough. wink

I don't use any of that agent crap, doesn't mean it should be there... smile


NaquadaBomb
www.mirc-dll.com
Re: New Identifier: $readlog to read sessions of a log #2701 20/12/02 05:03 PM
Joined: Dec 2002
Posts: 843
P
Poppy Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 843
So Khaled should implement it in the next version just for you - because you think that's enough? And that 'agent crap' is there for people with limited vision. I personally think that it's a good enough reason for that to be there.


Never compare yourself to others - they're more screwed up than you think.
Re: New Identifier: $readlog to read sessions of a log #2702 20/12/02 06:55 PM
Joined: Dec 2002
Posts: 103
Pasmal Offline
Vogon poet
Offline
Vogon poet
Joined: Dec 2002
Posts: 103
What would you use it for?