Posted by member 15303 on 2003-08-01 19:04:15
hey guys,
I haven't written a litestep theme in a long time... probably over a year, and I'm really rusty. I'm trying to use mzscript, can anyone tell me why this won't do *anything*?
I have the null there because I remember some bug that required that... but that was way back when... I lost touch with litestep when ls.net went down for a long period of time. Any help would be greatly appreciated!
I haven't written a litestep theme in a long time... probably over a year, and I'm really rusty. I'm trying to use mzscript, can anyone tell me why this won't do *anything*?
;=======
;MZSCRIPT CHUNK
;=======
*Script var timenow %[hour]
*Script bang !null
*Script exec !none
*Script ~bang
*Script bang !setGreet
*Script exec !ifEval ("timenow" <= 12) '|NewLabelSetText "Good Afternoon"'
*Script exec !ifEval ("timenow" >= 18) '|NewLabelSetText "Good Evening"'
*Script ~bang
*Script start !setGreet
*Script start !null
;=======
;MZSCRIPT CHUNK
;=======
*Script var timenow %[hour]
*Script bang !null
*Script exec !none
*Script ~bang
*Script bang !setGreet
*Script exec !ifEval ("timenow" <= 12) '|NewLabelSetText "Good Afternoon"'
*Script exec !ifEval ("timenow" >= 18) '|NewLabelSetText "Good Evening"'
*Script ~bang
*Script start !setGreet
*Script start !null
;=======
I have the null there because I remember some bug that required that... but that was way back when... I lost touch with litestep when ls.net went down for a long period of time. Any help would be greatly appreciated!