Im trying to use nested loops to find words from letters. For example if I type in 'four' I would like to find 'for' from it. I can get it to find 'ship' from 'mothership' but I cant get it to find 'thor' from 'mothership'. It compares the letters that are all added up together to an array with the words i want to find.
Basically what im doing is looping but the next nexted loop has a offset of 1.
Its a really long trigger if anyone wants an example, I just dont want to post it here because its really long, and im sure it can be optimized but at this point im really just looking for an example.
Hey guys,
Im trying to use nested loops to find words from letters. For example if I type in 'four' I would like to find 'for' from it. I can get it to find 'ship' from 'mothership' but I cant get it to find 'thor' from 'mothership'. It compares the letters that are all added up together to an array with the words i want to find.
Basically what im doing is looping but the next nexted loop has a offset of 1. Its a really long trigger if anyone wants an example, I just dont want to post it here because its really long, and im sure it can be optimized but at this point im really just looking for an example.
Thanks
@thechanyman: Go Is this some type of anagram game?
Yeah sort of, but I still cant get it to find the other words.
loop through the word once and set every existing character true
then check if the letters of your word are enabled