mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2003
Posts: 18
I
Pikka bird
OP Offline
Pikka bird
I
Joined: Jan 2003
Posts: 18
I have the mIRCStats v1.19 Script installed on a seperate computer running mIRC (naturally), and I have been required to enable logging for it.

This "Bot" so to speak, doesn't just run stat's, it also encoporates !seen scripts, !ping scripts, and many others. What I'd like to do is disable logging in one specific channel and keep it for the others, because this channel is huge, and the log at the end of the day would be disasterous!

Even if it's just a script to delete the file after each line is said, I don't mind, but I am trying to think of a way I can do it.

Channel Name: #perth
Network: au.austnet.org
Bot Nick: Indef|Bot
mIRC Logs Location: C:\mIRC\Logs\

Thanks muchly for any help given laugh

If I do make this myself, I will post the results.

andy

Joined: Jan 2003
Posts: 18
I
Pikka bird
OP Offline
Pikka bird
I
Joined: Jan 2003
Posts: 18
on ^*:TEXT:*:#:{
if ($chan == #perth) {
remove -b C:\mIRC\Logs\#perth.Austnet.log
}
else { halt }
}

Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
/log off #perth

Type it when you are on #perth and mIRC will remember the setting (in mirc.ini [logging]) and not log #perth.

Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
I'd do it Nimue's way, if you delete a text file every time something is said in busy channels you are gunna use a hell of a lot of resources.


Link Copied to Clipboard