local yard_id = "TY" local subs = { -- ['MMF'] = {['pos'] = POS(1,2,3), ['msg'] = "notify"}, } if event.ext_int or event.punch then local list = "Notify: " for fc, sub in pairs(subs) do if S.yards[yard_id].notify[fc] then interrupt_pos(sub.pos,sub.msg or "notify") list = list .. fc .. ", " end end digiline_send("lcd",list) S.yards[yard_id].notify = {} end