All variables in mIRC are global... so... thats pretty pointless. mIRC doesn't run through each script like C++ does. You'd have to use like, on start to declare a variable before a script runs.