I wanted you to add a function that checked sub conditions and then perform an action.
 exemplo 
#%VALUE(samuel)@IFEQ@VAR(USER_NAME)@AND@VALUE(1956)@IFEQ@VAR(USER_ID)@THEN(  It's all right  )@ESLE@NULL%#
After the primary condition and the sub is confirmed show me something. I need for a system I'm doing here.
			
			
									
						
										
						sub conditions
Re: sub conditions
Try this
#%VALUE(samuel)@IFEQ@VAR(USER_NAME)@THEN(1)@ELSE(0)@SET(conditionone)@NULL%#
#%VALUE(1956)@IFEQ@VAR(USER_ID)@THEN(1)@ELSE(0)@SET(conditiontwo)@NULL%#
#%VAR(conditionone)@PLUS@VAR(conditiontwo)@SET(combine)@NULL%#
#%VAR(combine)@IFEQ(2)@THEN(It's all right)@ELSE(It's not all right)%#
(i've tested it and it's working)
			
			
									
						
										
						#%VALUE(samuel)@IFEQ@VAR(USER_NAME)@THEN(1)@ELSE(0)@SET(conditionone)@NULL%#
#%VALUE(1956)@IFEQ@VAR(USER_ID)@THEN(1)@ELSE(0)@SET(conditiontwo)@NULL%#
#%VAR(conditionone)@PLUS@VAR(conditiontwo)@SET(combine)@NULL%#
#%VAR(combine)@IFEQ(2)@THEN(It's all right)@ELSE(It's not all right)%#
(i've tested it and it's working)
Re: sub conditions
multiple conditions already supported 
try this
#%VALUE(samuel)@IFEQ@VAR(USER_NAME)@VALUE(1956)@IFEQ@VAR(USER_ID)@THEN( It's all right )@ESLE@NULL%#
			
			
									
						
										
						try this
#%VALUE(samuel)@IFEQ@VAR(USER_NAME)@VALUE(1956)@IFEQ@VAR(USER_ID)@THEN( It's all right )@ESLE@NULL%#
- 
				samuel_anttunes
- Posts: 29
- Joined: Thu Mar 09, 2023 12:25 pm
Re: sub conditions
I had deleted this tropico kkk because I have already solved the problem . But now I saw that it is still here. As the answers are good I will leave the tropico to future learners. Thank you very much.
			
			
									
						
										
						