if event.type == "train" then local exp = "2" local rec = get_line() or "" local res = exp==rec and "PASS" or ("FAIL | %s"):format(rec) digiline_send("lcd", res) atc_send("OCBBWI+R;") end if event.type == "ext_int" then if atc_id then digiline_send("lcd", "...") set_line("1") atc_set_text_outside("LINE 1") atc_send("S4") end end