30.10.2023, 07:54
Try using this:
Note that tags are case-sensitive.
Code:
tags = grp.gettags(event.dst)
for _, tag in ipairs(tags) do
addr = tag:match('SYM=(%d+)')
if addr then
break
end
end
log(addr)
if addr then
-- send TCP message
end
Note that tags are case-sensitive.