Posted by member 12798 on 2004-01-14 09:41:43 link
you mixed some things up, i think... should be like this:
sets up the mzscript var
note #1: you cannot (at least should not) redefine !varset as you did by "*Script bang !varset"
note #2: shortened the script, should work however
*Script start !varset "noVWMBar" "true"
sets up the mzscript var
*Script bang !Desktop3
*Script gotoif ("noVWMBar" = "true") exit_prog
*Script exec !shortcutgroupshow 602 604 605
*Script exec !shortcutgrouphide 601 603 606
*Script label exit_prog
*Script ~bang
*Script gotoif ("noVWMBar" = "true") exit_prog
*Script exec !shortcutgroupshow 602 604 605
*Script exec !shortcutgrouphide 601 603 606
*Script label exit_prog
*Script ~bang
note #1: you cannot (at least should not) redefine !varset as you did by "*Script bang !varset"
note #2: shortened the script, should work however