0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00

something

This commit is contained in:
2025-12-24 13:19:43 +01:00
parent 73beb35913
commit f3121f1580
6 changed files with 107 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
if type(data) == "string" and data ~= nil then
function data_handle(data)
local cmd, value = data:match("([^=]+)=([^=]+)")
if cmd == nil then
data = data:lower()
@@ -64,6 +64,7 @@ if type(data) == "string" and data ~= nil then
end
end
---@diagnostic disable-next-line: need-check-nil
cmd = cmd:lower()
local eon_num, eon_type = cmd:match("^eon(%d+)([a-z]+)$")