How can i find a specific word in a line, take out the word next to it and.. write it down in a file. This is what i got at the moment:
on *:text:*:#: { if (theword isin $1-) { write $mircdirtxtfiles\word.txt $1- } }
This however just writes the word wich was isin the line and not the word i need: for example: theword WORD i need the WORD to write down. The WORD is a unknown word so i cannot use the isin for that.