Reno, this line of code should be exactly what you need.
if (GetGlobalVariable(80)==4) {
//place code here
}
to be specific. If that doesn't work you probably have an error elsewhere, either in defining the global var (make sure it's set to 4) or in the rest of the GUI code.
if (GetGlobalVariable(80)==4) {
//place code here
}
to be specific. If that doesn't work you probably have an error elsewhere, either in defining the global var (make sure it's set to 4) or in the rest of the GUI code.