Typing script to move character

trying to make a code that states

If(words typed by user= words that are on the screen)

then move character a certain object

any help would be greatly appreciated

basically i would need two variables, one for the text user imput and the other for the stored words

You can probably do this by having a gui label and textfield. To move an object you can use transform.Translate.




I'm not trying to be rude. But come on.