All,
VM Pro 4.2 with VBS license.
I am trying to compare two variables (I've tried CPx variables and DB variables) and either make the system follow the vbscript action true/false actions or at least set a variable but I can't get it to work. Any help appreciated.
My two script parts are:
if CP1 > CP2 then
voice.result=TRUE
else
voice.result=FALSE
end if
and:
if CP1 > CP2 then
voice.variable=2
else
voice.variable=5
end if
CP1 is set to 10 and CP2 is set to 2 but if I put $VAR into a speak text action it is returned as 5.
Thanks
VM Pro 4.2 with VBS license.
I am trying to compare two variables (I've tried CPx variables and DB variables) and either make the system follow the vbscript action true/false actions or at least set a variable but I can't get it to work. Any help appreciated.
My two script parts are:
if CP1 > CP2 then
voice.result=TRUE
else
voice.result=FALSE
end if
and:
if CP1 > CP2 then
voice.variable=2
else
voice.variable=5
end if
CP1 is set to 10 and CP2 is set to 2 but if I put $VAR into a speak text action it is returned as 5.
Thanks