mIRC Home    About    Download    Register    News    Help

Print Thread
#52631 05/10/03 10:18 PM
Joined: Oct 2003
Posts: 3
A
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Oct 2003
Posts: 3
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.


--
Life is really short ... taste it
#52632 06/10/03 01:51 AM
Joined: Feb 2003
Posts: 810
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
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.


* cold edits his posts 24/7
#52633 06/10/03 03:16 AM
Joined: Oct 2003
Posts: 8
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
Joined: Oct 2003
Posts: 8
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>




Link Copied to Clipboard