Passing Variables from snippet to snippet / Globally?

Funny you should mention, it is actually the $msg variable from the login error on the login script you just helped me fix.