ekvador 6 Posted December 9, 2015 Report Share Posted December 9, 2015 I just looking at ubot commands, what is option for switch ? Quote Link to post Share on other sites
pash 504 Posted December 10, 2015 Report Share Posted December 10, 2015 Ubot no command "switch".Use the "if" and "else if" and "else" instead. sample if($comparison(#test, "=","a")) { comment("a") then { } comment("b") else if($comparison(#test, "=","b")) { } comment("c") else if($comparison(#test, "=","c")) { } else { } }Toolhttp://ubotplugin.com/2015/11/26/ubot-if-else-statements/ 1 Quote Link to post Share on other sites
tnhomestead 16 Posted December 11, 2015 Report Share Posted December 11, 2015 There is a free 3rd party plugin that offers switch. You can find it in this thread. http://network.ubotstudio.com/forum/index.php/topic/14198-howtouse-switch-case/ 1 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.