This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Basti153's profile picture

Wireless pocket computer to computer

Started by Basti153, 06 May 2015 - 02:37 PM
Basti153 #1
Posted 06 May 2015 - 04:37 PM
Hi
Im really nooby in lua so im asking for quick help. I need a program called "alarm" that sends a wireless signal from a wireless pocket computer to a computer which is gonna output a steady redstone signal to the right side. Then i need a command that is called "toggleAlarm" and toggles the alarm. Would be great if somebody could tell me how to do this with the button API to make the pocket computer look fancier.
~LG Basti
Square789 #2
Posted 06 May 2015 - 05:57 PM
We don't write programs on request.
Maybe you got a little piece of code yet, if you don't you could take a look at this and at this.
If you got some code, please post it in
 tags.
valithor #3
Posted 06 May 2015 - 08:47 PM
Here is a tutorial for buttons: http://www.computercraft.info/forums2/index.php?/topic/18895-event-intermediate-mouse-click-clickable-buttons-more-to-be-added/

There is no official button Api but there are a number of user made ones throughout the forums, with the most popular being bedrock (I believe it can be used for buttons).
Edited on 06 May 2015 - 06:48 PM
Lyqyd #4
Posted 06 May 2015 - 09:37 PM
It's more than a little disingenuous to list Bedrock as the most common button API. A better example would be Touchpoint. Bedrock is far more than a button API, and might be more than a self-described "nooby" really wants to bite off. :P/>