Detect The End Of A Script/Text In Lua
===

Please, as a newbie i have tried several approaches, but i am still not getting it right, so i need help.The issue is how can i detect in lua if a user has stop typing, so as to enable me compare the current text that has been inputed by the user for further implementations.