Something wrong with my syntax..MLConditional

If you have created a unique MLServeCmd that performs a unique task, please post it here so others can learn from them.
User avatar
gstone
Expert
Expert
Posts: 582
Joined: Fri Apr 23, 2004 9:42 am
Contact:

Something wrong with my syntax..MLConditional

Postby gstone » Thu Sep 21, 2006 11:55 am

MLServeCmd.MLConditional|IsEqual##{{clientname}}_zone_controlling##Theatre##SetVariable|zone_is_controlled_theatre~0##

If the variable is Theatre it should set the other variable to 0. I must be doing something wrong.
Always ask! You can't stay dumb forever!

User avatar
GregJPowers
New Member
New Member
Posts: 31
Joined: Thu Jan 22, 2004 3:49 pm
Location: Southern California
Contact:

Postby GregJPowers » Mon Nov 19, 2007 5:34 pm

If Theatre is a server variable, then it needs to be in {{}}. Had this same problem last night.

This is most likly too late to help you, but mabe it will help the next guy......

User avatar
jjjukebox
Is there life beyond Cinemar?
Is there life beyond Cinemar?
Posts: 1024
Joined: Sat May 22, 2004 9:54 pm
Location: Toronto
Contact:

Postby jjjukebox » Mon Nov 19, 2007 6:16 pm

Try This:
MLServeCmd.MLConditional|IsEqual##{{{{clientname}}_zone_controlling}}##Theatre##SetVariable|zone_is_controlled_theatre~0##

Put more {{ }} around the compare variable
J.J. Jukebox
Member


Return to “MLServeCmd Examples”

Who is online

Users browsing this forum: No registered users and 2 guests