Filtering in a txt-file - 28/05/03 05:01 PM
Somebody knows how to solve this:
The words don't mather... But since i look in three sites with some nicks who are the same, i want to look in the ate.txt is ther was allready before a exact same line... ie. Chandler ate a banana -> txt : #1 Chandler ate a banana; in chan 2 i do the same so txt say: #2 Chandler ate a banana...
What i want is that the script looks into the txt file and if that line ($nick ate a $4) is allready there, he doesn't have to write it...
U understand what i want to say?
Code:
on *:TEXT:*ate*banana*fish*:#1,#2,#3: /write ate.txt $chan $nick ate $3 $4
The words don't mather... But since i look in three sites with some nicks who are the same, i want to look in the ate.txt is ther was allready before a exact same line... ie. Chandler ate a banana -> txt : #1 Chandler ate a banana; in chan 2 i do the same so txt say: #2 Chandler ate a banana...
What i want is that the script looks into the txt file and if that line ($nick ate a $4) is allready there, he doesn't have to write it...
U understand what i want to say?