Posted by member 168857 on 2004-06-08 16:07:59
at the moment i can set vars, but !if statements do anything eg, i got this from a tutorial,
I have in another place:
*Script bang !yes
*Script exec !VarSet yes "1"
*Script ~bang
*Script bang !no
*Script exec !VarSet no "1"
*Script ~bang
*Script bang !areyouwell
*Script exec !confirm "Are you well?" !yes !no
*Script exec !IfExist "yes" [!msgbox Good - hope you stay that way]
*Script exec !IfExist "no" [!msgbox Oh dear - hope things improve]
*Script exec !VarRemove yes
*Script exec !VarRemove no
*Script ~bang
*Script exec !VarSet yes "1"
*Script ~bang
*Script bang !no
*Script exec !VarSet no "1"
*Script ~bang
*Script bang !areyouwell
*Script exec !confirm "Are you well?" !yes !no
*Script exec !IfExist "yes" [!msgbox Good - hope you stay that way]
*Script exec !IfExist "no" [!msgbox Oh dear - hope things improve]
*Script exec !VarRemove yes
*Script exec !VarRemove no
*Script ~bang
I have in another place:
*NetLoadModule textedit-2.4l-13
*NetLoadModule mzscript-0.9-beta_12.dll
*mzScriptFile "$themedir$script.rc"
mzScriptNewSyntax
mzAutosaveVars replace
TextEditNewSyntax
mzAutosaveVars replaceinclude
*NetLoadModule mzscript-0.9-beta_12.dll
*mzScriptFile "$themedir$script.rc"
mzScriptNewSyntax
mzAutosaveVars replace
TextEditNewSyntax
mzAutosaveVars replaceinclude