lumin
Jan 2nd, 2000, 05:30 PM
hi.
I have a problem I can't solve.
Im trying to get a program to recognize text in a text box.
for example:
if a user types in:help in the text1 text box the text2 text box will display help information. (this is somewhat easy :)
but I also want the program to recognize cammands from text2 text box like if the text2 textbox displays help it will display the help thing in text2. (I find this difficult)
Confused ?
the problem is realy to recognize the things in text2 and then execute the commands.
it must scann the whole line of text that is written.
like if a user types. "I need help"
the help thing activates again.
It would also be nice if someone know how to make the program check with a text file to see if the users username is written there or not. if the username isthere then execute command, if not then do nothing. (I also have major problems with this :)
Hope you understand what my problem is.
Thanks in advance.
-Lumin
I have a problem I can't solve.
Im trying to get a program to recognize text in a text box.
for example:
if a user types in:help in the text1 text box the text2 text box will display help information. (this is somewhat easy :)
but I also want the program to recognize cammands from text2 text box like if the text2 textbox displays help it will display the help thing in text2. (I find this difficult)
Confused ?
the problem is realy to recognize the things in text2 and then execute the commands.
it must scann the whole line of text that is written.
like if a user types. "I need help"
the help thing activates again.
It would also be nice if someone know how to make the program check with a text file to see if the users username is written there or not. if the username isthere then execute command, if not then do nothing. (I also have major problems with this :)
Hope you understand what my problem is.
Thanks in advance.
-Lumin