Honestly I think the one your using isn't very future ready. It's very locked to a set of words and requires additional Event for each word.
Instead you should use an Array and do a
====
Array.hasValue( trim( inputbox.text ) )
--> Do actions
====
However that would require either initiating an array on the game start by
Array.setX(0, word)
or using a dictionary and taking advantage of tokenate
so create a file with
happy, smile, sun, good, mom, dad, green,......
then use AJAX
===
On StartUp(do this for game start)
- ajax.load(dictionaryfile)
On AJAX LOAD
- repeat (tokenatecount(ajax.lastdata), ",")
-- array.push to back on X with value trim(ajax.lastdata(tokenate, loopindex, ","))
and there you go. An easy way to add LOTS of words without adding in any more events.