Blockland Forums > Modification Help
Help With Chatbot
<< < (4/6) > >>
Treynolds416:
Cases and if/else statements mean the exact thing to torque, and they compute at the same speed. The only difference is the bracketeering bracketing
bloxmaster:
Wouldnt with case the bot will be open to answer to anyone?
Treynolds416:

--- Quote from: bloxmaster on June 08, 2012, 11:31:38 PM ---Wouldnt with case the bot will be open to answer to anyone?

--- End quote ---
You can put cases inside if statements and vice versa
bloxmaster:

--- Quote from: Treynolds416 on June 08, 2012, 11:32:54 PM ---You can put cases inside if statements and vice versa

--- End quote ---
I see
Port:

--- Quote from: Treynolds416 on June 08, 2012, 11:32:54 PM ---You can put cases inside if statements

--- End quote ---

no


switch$ ( "" )
{
        if ( true )
        {
                case "nothing": quit();
        }
}

not valid
Navigation
Message Index
Next page
Previous page

Go to full version