To get a variable name from a source code: The variable name is before the '=' (equal sign) This is the way to detect. Problem:
I made this for fake script debugger. Just get variable from source code and put that after last semicolon with so much tab and messagebox code for every line.