Hello,
i need some small help on a little code. I'm using the code below to log all lines begining with the word 'Quote' from a FactBot.
This code works fine for my purpose, but I'd also like it to halt (not to log) when certain words are in the phrase.. So something like
if (badword1 isin $2-) || (badword2 isin $2-) || (more isin $2-) { halt | else continue but I can't quite figure out exactly how to do it or where to place it in the script... Need some help please.
on *:text:*:#factchan: {
if ($nick $strip($1) == FactBOT Quote) {
write c:\mIRC\log.txt $2-
}
}