So far I have the AS which imports the userlist and saves it in the variable $usercheck.
userlist = new loadVars();
userlist.load(“text/userlist.txt”);
userlist.onLoad = function() {
userlist.text = usercheck;
};
The trouble is, I don’t know how to compare the user’s input with the userlist, so that if their input username appears anywhere on the userlist, it is recognised. I’ve tried using wildcards with no luck. Could anyone help?