I managed to do it with two variables using "and," however, I can't use more than two variables. I already tried with "if." Do you have a better idea of how to solve this to create the attributes populated with the variables?
Example:
OK
0xfff06288 A 3,0xfff06288,U,76620 P " And ( WriteAttribute( { C CURRENT_MODEL }, { H 0xffff0000 },GetEventVariable( { U 104 } )), WriteAttribute( { C CURRENT_MODEL }, { H 0xffff0001 },GetEventVariable( { U 108 } )), Nil()) "
Failed, 3 attributes
0xfff06288 A 3,0xfff06288,U,76620 P " if ( WriteAttribute( { C CURRENT_MODEL }, { H 0xffff0000 },GetEventVariable( { U 137 } )), WriteAttribute( { C CURRENT_MODEL }, { H 0xffff0001 },GetEventVariable( { U 108 })), WriteAttribute( { C CURRENT_MODEL }, { H 0xffff0002 },GetEventVariable( { U 109 } )), Nil()) "
Thanks, Community.
Regards
-------------------------------------------