95 posts
Location
A CPU some where in Bolton, UK
Posted 09 January 2014 - 06:10 AM
so i am working on a computercraft college on a server that i play on, and was wondering if there is a way to show what i am writing but on a monitor, so i would be making a program and i would be writing it on computor but the people learning would be able to so it on a monitor aswell, to make it simple what i am writing on a computer will show up on the monitor at the same time.
if anyone could help, it would be much appresheated
thanks
621 posts
Location
U.S.A.
Posted 09 January 2014 - 10:42 AM
This may work:
n = 1
while n == 1 do
output = read()
if output == "exit" then
shell.reboot()
else
print(output)
end
end
Run this on the monitor and you have live text. Try adapting it so that it also saves the code somewhere.
Edited on 09 January 2014 - 09:44 AM
8543 posts
Posted 09 January 2014 - 10:50 AM
Or completely ignore the advice above and look around the forums for one of the many screen mirroring/cloning APIs.
95 posts
Location
A CPU some where in Bolton, UK
Posted 09 January 2014 - 11:29 PM
Or completely ignore the advice above and look around the forums for one of the many screen mirroring/cloning APIs.
i cant find one would be able to link one as i have spent 1hr lookign for 1 :(/>
8543 posts
Posted 09 January 2014 - 11:36 PM
There's a
search bar for a reason. Check out that first link.