Jump to content




Automatic mining help.


  • You cannot reply to this topic
4 replies to this topic

#1 slinker0

  • Members
  • 3 posts

Posted 26 March 2014 - 03:49 PM

I dont know how to program, can u help-me? I'm trying do this: i need for 0.6 sec a redstone signal at margenta cable side after it, i need for 0.6 sec a redstone signal in blank cable, after it i need 90 secs and restart the program.

see here:
1)
Posted Image
2)
Posted Image
3)
Posted Image

i'm using FTB monster.
Thanks very much! if u can, try to explain the code.

Edited by slinker0, 26 March 2014 - 04:11 PM.


#2 CometWolf

  • Members
  • 1,283 posts

Posted 26 March 2014 - 04:33 PM

We don't program for you here, we can help you learn however.
Handling redstone is pretty easy.
rs.setBundledOutput("side",color)
http://computercraft...stone_%28API%29

Note that the colors used are the power of 2 of every number from 1 to 16.
You can acess these easily by using the colors API
http://computercraft...olors_%28API%29
colors.magenta

Then to wait 90 seconds, you use
sleep(time)


#3 slinker0

  • Members
  • 3 posts

Posted 26 March 2014 - 05:03 PM

but, how can i star that program? i'm completely noob .-. sorry

#4 CometWolf

  • Members
  • 1,283 posts

Posted 26 March 2014 - 09:29 PM

I suppose you'll have to start from the beginning then
http://computercraft..._World_Tutorial
Then have some look at some other tutorials as you go along
http://computercraft.../wiki/Tutorials

#5 slinker0

  • Members
  • 3 posts

Posted 26 March 2014 - 09:51 PM

i don't know how to speak english fluently, this is why i ask for u, a code to do this simple think..

I cant understand every think! :/

BUT, Thank you so much! i'm trying to learn Lua program





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users