--N/S local line = "E85" lines = F.ttp_info_times(line.."_N", "00;00") linestr = F.ttp_info_trains(line.."_N", "00;00") local li = lines for i=1,#linestr do li[#li+1] = linestr[i] end print(line.."_N\n"..table.concat(li, "\n")) lines = F.ttp_info_times(line.."_S", "00;00") linestr = F.ttp_info_trains(line.."_S", "00;00") local li = lines for i=1,#linestr do li[#li+1] = linestr[i] end print(line.."_S\n"..table.concat(li, "\n"))