mIRC Homepage
Posted By: akasantos Log - 05/10/03 10:18 PM
Hi there ppl!

When i'm away i want to log messeges from # that start with my nick, i know howto identify this when someown says my nick, but i can't seem to be able to use /write to save that info on file. because i can only "see" when saomeown say my nick, not get the line in that he wrote it. Any ideas?

Tks.
Posted By: cold Re: Log - 06/10/03 01:51 AM
If I get what you mean, it is something like:
Code:
ON *:TEXT:*:#:{
  if ($away) && ($me isin $strip($1-)) $&
    write away.log $timestamp $+(<,$nick(#,$nick).pnick,>) $1-
}
alias awaylog {
  if ($file(away.log)) {
    var %@ = $+(@Away,$chr(160),log)
    window -ea %@
    loadbuf -pi %@ away.log
    .remove away.log
  }
}


If you're away, it will record what you want on "<your mIRC folder>\away.log". Use /awaylog to read your messages - the file will be removed right after you used the command.
Posted By: sh0cknock Re: Log - 06/10/03 03:16 AM
Hi akasantos,

You may like to try this addon to give a few more options.
If you have any problems feel free to visit me on Undernet in the #mircscripting channel.

http://www.mircscripting.net/addons/Text_Recorder.txt

http://mircscripting.net/forum/viewtopic.php?p=256#256

<a href="irc://us.undernet.org/mircscripting" target="_blank">irc://us.undernet.org/mircscripting</a>

© mIRC Discussion Forums