Originally Posted By: Deega
Code:
on *:text:*SOME-SAMPLE-TEXT*:#:{
  write FILENAME.txt $time([dd.mm.yy][HH.nn.ss]) $+(<,$nick,>) $1-
}

/help on text
/help /write
/help $time
/help Other Identifiers


Thanks so much for your kind reply and this lovely sample! I'm starting to get the hang of this thing laugh
A few questions:
- Isn't it possible to simply capture the whole string where a keyword (SOME-SAMPLE-TEXT in this case) was found? Instead of manually putting it together (timestamp, nick, message)
- Is it possible to strip ALL formatting from the text (make it plain text)? Because in my case it comes in with formatting, which makes it nearly impossible to read/use later DONE VIA APPLYING $strip() TO $1- thus giving $strip($1-)
- Is it possible to monitor for the event (SOME-SAMPLE-TEXT) from particular nickname or several nicknames?

Again, thanks so very much in advance! And I really AM reading the help in the meantime, but it's not too easy getting started, so thanks a million for your understanding! laugh

Last edited by Diam0nd; 24/05/13 09:36 PM.

mIRC v7.32 REGISTERED
Plain, no scripts