you should add a checker if the variable is set first and then go away like if (%lul != $null) { Im away..etc }