Variable listener?


I’ve been googlin around and searchin the forum… and the answer to my question might be watch()

I wanna call a function when a variable or a string is changed, or when data is inserted to the string.

You might say i wanna use a onData event listener on a string… i dont know if watch() does the job? Im at work so i can’t really try the method…