Home
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Details for command atoi:
* atoi "string";
* axtoi "string";
These commands are used to convert strings to numbers.
atoi will convert string using normal number (0,1,2,3,etc) while axtoi converts them to
hexadecimal numbers (0,1,11,01).
Example:
mes atoi("11"); // Will display 11 (can also be used to set a @var to 11)
set @var, axtoi("FF"); // Will set the @var to 255
mes axtoi("11"); // Will display 17 (1 = 1, 10 = 16,
// hexadecimal number set: {0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F})