The value of local variables can be obtained by using the magic text [lv=NAME] where NAME is the name of the desired variable. Not to be confused with Global variables.