10 posts
Posted 27 September 2012 - 04:10 AM
i was wondering if i could get the code from the server or someone make one similar. show in this ep
http://www.youtube.com/watch?v=lFstUQsYIP0&feature=relmfu thanks
66 posts
Posted 27 September 2012 - 04:42 AM
i might be able to do it later if someone else hasn't yet when i'm done working on my program
1214 posts
Location
The Sammich Kingdom
Posted 27 September 2012 - 11:36 AM
The person who wrote it made a site then wrote a PHP script to get the tweet then reformat it into a webpage then the computer uses the HTTP API to grab the reformatted tweet then display it on a monitor.
10 posts
Posted 27 September 2012 - 12:12 PM
not the tweet program the script that tracks how many times direwold went in and out of his doors and it was displayed on a monitor its about 44 seconds into the video
21 posts
Posted 27 September 2012 - 04:46 PM
Not exact the same but it do it near the same way:
local sInputSide = "back" -- change to the side of the redstone input (where the wire is)
mon = peripheral.wrap("top")
mon.setTextScale(0.5)
term.redirect(mon)
local count = 0
local lastInput = false
while true do
os.pullEvent("redstone")
local input = rs.getInput(sInputSide)
if input ~= lastInput then
if input then
count = count + 1
print(count, " UU Matter producedn")
end
lastInput = input
end
end