Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("back")
- while true do
- term.clear()
- term.setCursorPos(1,1)
- local t = {dir, stn, pro, ser, spro, trans, platform}
- print("Direction: ");
- t.dir = read();
- print("Station: ");
- t.stn = read();
- print("Pronounced?: ");
- t.pro = read();
- print("Service?: ");
- t.ser = read()
- if (t.ser == "") then
- t.spro = ""
- t.trans = "false"
- else
- print("Pronounced?: ");
- t.spro = read();
- print("Transfer? : ");
- t.trans = read();
- end
- print("Platform: ");
- t.platform = read();
- msg = textutils.serialize(t)
- data = textutils.unserialize(msg);
- rednet.broadcast(msg, "WorkshopStation");
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement