2 posts
Posted 09 April 2014 - 08:29 AM
Is it possible to show up the same on a monitor as on a comuter and can you do that wired (or wireless)
i have a chat system on my server and i want to see my messages directly on my monitor
1281 posts
Posted 09 April 2014 - 03:57 PM
A quick way of doing this via networkking cables would be to just overwrite the global write function to write to a connected monitor aswell.
local monitor = peripheral.wrap() --i'm going to assume you know how this works
local write = _G.term.write -- backup the original write function
_G.term.write = function(sString) --overwrite it
write(sString) --write to the terminal
monitor.write(sString) --write to the monitor aswell
end
Alternativly, if you've made this chat program you're using you should probably know where it writes to the terminal, so you could just make it write to a connected monitor aswell.
If you don't know how to use peripherals/monitors, check the wiki.
http://computercraft.info/wiki/Advanced_Monitor
7083 posts
Location
Tasmania (AU)
Posted 09 April 2014 - 11:32 PM