katelynnm 1 Posted October 16, 2013 Report Share Posted October 16, 2013 (edited) how do I say this in ubot: if A is <= 30000 BUT >20000 AND if B is <=20000 BUT > 15000 Then {do this} So far I've tried a large mixture of $both and $comparison Edited October 16, 2013 by katelynnm Quote Link to post Share on other sites
Aymen 385 Posted October 16, 2013 Report Share Posted October 16, 2013 are you referring to else if command ? Quote Link to post Share on other sites
k1lv9h 76 Posted October 16, 2013 Report Share Posted October 16, 2013 Hi, Code: set(#a, 21000, "Global") set(#b, 29000, "Global") if($both($both($comparison(#a, "<=", 30000), $comparison(#a, ">", 20000)), $both($comparison(#b, "<=", 20000), $comparison(#b, ">", 15000)))) { then { alert("do this") } else { } }Kevin Quote Link to post Share on other sites
katelynnm 1 Posted October 16, 2013 Author Report Share Posted October 16, 2013 (edited) Thank you, everyone-I just figured it out if($both($comparison(#globalrank, "<=", 50000), $comparison(#globalrank, ">", 40000))) { then { if($both($comparison(#googleresults, "<=", 30000), $comparison(#googleresults, ">", 25000))) { then { add item to list(%oklist, #final_row, "Delete", "Global") } } } } Edited October 16, 2013 by katelynnm Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.