I want to write all the lines containing [test] written by a user called 'bot' in #mybotchan written to a .txt file. I tried to script it by using this forum but it doesnt seem to work.
Code:
on *:TEXT:*[test]*:#mybotchan:{
if ($nick == bot) {
/write BOTDB.txt $1-
}
}