2088 posts
Location
South Africa
Posted 04 October 2012 - 12:32 AM
Whats the simplest code for a table containing only Yes and No (for both horizontal and vertical) and the code that happens of which one is selected? I honestly cant find anything :(/>/>
3790 posts
Location
Lincoln, Nebraska
Posted 04 October 2012 - 12:39 AM
That is a very broad description for doing something you want to do. Are you trying to make a minign turtle work, are you making a menu, are you trying to make a game? We need details, and some code. Nobody really likes giving out their time if you don't know what you're looking for.
2088 posts
Location
South Africa
Posted 04 October 2012 - 12:44 AM
That is a very broad description for doing something you want to do. Are you trying to make a minign turtle work, are you making a menu, are you trying to make a game? We need details, and some code. Nobody really likes giving out their time if you don't know what you're looking for.
Not a hectic code. All its doing is maintainance for a pump. Table is for switching it on and off. I havent started the code yet. Trying to find a code for how to create tables atm.
3790 posts
Location
Lincoln, Nebraska
Posted 04 October 2012 - 12:52 AM
table = {"Yes", "No"}
Done. I created a table for you. :(/>/>
But I think you are trying to create a system that uses options available in that table, to utilize something to turn the pump on/off? If so, check out this tutorial:
http://www.computercraft.info/forums2/index.php?/topic/744-a-quick-guide-through-menu-making/
2088 posts
Location
South Africa
Posted 04 October 2012 - 12:58 AM
table = {"Yes", "No"}
Done. I created a table for you. :(/>/>
But I think you are trying to create a system that uses options available in that table, to utilize something to turn the pump on/off? If so, check out this tutorial:
http://www.computerc...gh-menu-making/
Thanks <3