Hi!

Ok
Then you have a list of words and you can check to see
if the word is in the list

I have something close to this in my code
here's a section
Code:
STRING* THELIST = "list_pass.txt"; 
STRING* tMot = "#10"; 

function analyse_word ()
{ 
	var yes = 0; 
	fhandle = file_open_read( THELIST );
	wait(1);
	yes = file_find(fhandle,tMot); // if true : returns number and places the read pointer after the word ",".
	file_close(fhandle);

	if (yes > 0) // string found in fhandle
	{
		pass_is_ok ();
		
		
	}
	else
	{
	
		do_it_again ();
	}
}




Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C