02.06.2021, 04:30 
		
	
	
		Hi,
I have a variable that can range from 40...-10 and I'd like to make a script with the FB editor that checks if the value goes to below zero, and when it does I'll rewrite it to 0. I tried using the 'less than' block comparing the value to 0 but with no luck. Is there any easy IF type of block I could import to the fb editor or any other suggestions how to go around?
	
	
	
I have a variable that can range from 40...-10 and I'd like to make a script with the FB editor that checks if the value goes to below zero, and when it does I'll rewrite it to 0. I tried using the 'less than' block comparing the value to 0 but with no luck. Is there any easy IF type of block I could import to the fb editor or any other suggestions how to go around?
 
 

 


