19.03.2025, 14:05
(19.03.2025, 12:42)admin Wrote: Try this:
Code:value = event.getvalue()
bytes = { value:byte(1, 6) }
code = table.concat(bytes)
log(code)
it does not work because the number result is not correct. I log this follow with loghex(value):
Quote:* arg: 1
* hexstring [13]: 69 6C 20 6E 75 6D 65 72 6F 20 C3 A8 3A
* arg: 2
* hexstring [4]: 12 12 12 01
The number I want to take are 121212.
It is consider a table with 2 value?
Thanks.
BR