On Monday, February 24, 2003, 15:38, Luc wrote: > ==================== > [begin] > Good > %IF:"%TIME='hh:mm:ss'"=>"04:00:00":"%IF:'%TIME=""hh:mm:ss""' > <='11:59:59':'morning'"%-%IF:"%TIME='hh:mm:ss'"=>"12:00:00": > "%IF:'%TIME=""hh:mm:ss""'<='17:59:59':'afternoon'"%-%IF: > "%TIME='hh:mm:ss'"=>"18:00:00":"%IF:'%TIME=""hh:mm:ss""' > <='23:59:59':'evening'"%-%IF:"%TIME='hh:mm:ss'"=> > "00:00:00":"%IF:'%TIME=""hh:mm:ss""'<='03:59:59':'night'"%- > %TOFNAME,
> [end] > =============== > Now, what i'm looking for is this: > 00:00:00":"%IF:'%TIME=""hh:mm:ss""'<='03:59:59':'night' should > produce 'hello' instead of goodnight but all the others should remain > "good morning",... > Is there a way of doing this? Since I haven't tried it myself, I might be making a fool out of myself, but why don't you delete the initial "Good" and replace 'morning' with 'Good morning' and so on? This way you could easily replace 'night' with 'Hello'. Or doesn't it work to enclose more then one word in single quotes? -- Regards, Marcus Ohlström Using The Bat! v1.62/Beta7 on Windows 2000 5.0 Build 2195 Service Pack 3 PGP Public Key at http://www.canit.se/~marcus/pgp.asc ________________________________________________ Current version is 1.62 | "Using TBUDL" information: http://www.silverstones.com/thebat/TBUDLInfo.html