In the mean time Ill show you how to parse the data using Token Identifiers and $regex with $regml for a return match
A) What I want you to do is copy the little list that you got there and save it to test.txt in the main mirc folder
Then execute the script as shown in the below syntax...
Syntax: //echo -a $Rread(nth)
nth is the number line in your text.
alias Rread {
noop $regex($read(test.txt,n,$1),/((?i)UNRATED|(?i)DVDRip|(?i)XviD|(?i)DVDSCR|(?i)PROPER|(?i)TS|(?i)REAL|(?i)TELECINE|(?i)LIMITED|(?i)REPACK)/)
return $replace($deltok($read(test.txt,n,$1),$+($findtok($read(test.txt,n,$1),$regml(1),46),-),46),.,$chr(32))
}
This will return the data without .......-
Steps...
A) I did a regex match in the incoming data for the "words"
B) I first used $findtok with chr being a (.) to find the actual word that the regex match found to use the regex match within the findtok I used $regml(1)
C) During the same string, after I found the token I used deltok to deleted anything FROM(word) to the end leaving anything before.
D) I used the same string to $replace everything in the string's (.) with $chr(32) "space" in succession returning the data prior to the token command with no (.)
----
EDIT: I forgot to add (?i) for non case sensitive matches