19.04.2022, 08:32
(19.04.2022, 06:58)admin Wrote: This will add 100 to the last group address part:Thanks Admin
Code:addr = event.dst:gsub('%d+$', function(a)
return tonumber(a) + 100
end)
log(addr)
I think it will be easy for me to get only the last group address part as number, because its not the same pattern.
Also what is function(a)?
BR,
Best Regards,