Skip to main content
se añadieron 193 caracteres en el cuerpo; título editado
Origen Enlace
user128299
user128299

Que hice mal? (Lua) 'then' expected near '=' en la linea 21

z = 1
a = 1
b = 1
c = 1
d = 1
e = 1
f = 1
g = 1
h = 1
i = 1
digits = {"","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"," ","0","1","2","3","4","5","6","7","8","9"}



for j=1,38,0 do

--run_cmd es una funcion personalizada
run_cmd("owner " .. digits[a] .. digits[b] .. digits[c] .. digits[d] .. digits[e] .. digits[f] .. digits[g] .. digits[h] .. digits[i] .. digits[j])
a = a+1

if a=38
then
b = b+1
a = 1
end

if b = 38
then c = c+1
b=1
end

if c = 38
then d = d+1
c=1
end

if d = 38
then e = e+1
end

if e = 38
then f = f+1
e=1
end

if f = 38
then g = g+1
f = 1
end

if g = 38
then h = h+1
g=1
end

if h = 38
then i = i+1
h=1
end

if i = 38
then j = j+1
i = 1
end

me sale 'then' expected near '=' en la linea 21

estoy haciendo un script para toribash, pero stackoverflow me obliga a dar mas informacion.

Que hice mal? (Lua)

z = 1
a = 1
b = 1
c = 1
d = 1
e = 1
f = 1
g = 1
h = 1
i = 1
digits = {"","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"," ","0","1","2","3","4","5","6","7","8","9"}



for j=1,38,0 do

--run_cmd es una funcion personalizada
run_cmd("owner " .. digits[a] .. digits[b] .. digits[c] .. digits[d] .. digits[e] .. digits[f] .. digits[g] .. digits[h] .. digits[i] .. digits[j])
a = a+1

if a=38
then
b = b+1
a = 1
end

if b = 38
then c = c+1
b=1
end

if c = 38
then d = d+1
c=1
end

if d = 38
then e = e+1
end

if e = 38
then f = f+1
e=1
end

if f = 38
then g = g+1
f = 1
end

if g = 38
then h = h+1
g=1
end

if h = 38
then i = i+1
h=1
end

if i = 38
then j = j+1
i = 1
end

me sale 'then' expected near '=' en la linea 21

estoy haciendo un script para toribash, pero stackoverflow me obliga a dar mas informacion.

'then' expected near '=' en la linea 21

z = 1
a = 1
b = 1
c = 1
d = 1
e = 1
f = 1
g = 1
h = 1
i = 1
digits = {"","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"," ","0","1","2","3","4","5","6","7","8","9"}



for j=1,38,0 do

--run_cmd es una funcion personalizada
run_cmd("owner " .. digits[a] .. digits[b] .. digits[c] .. digits[d] .. digits[e] .. digits[f] .. digits[g] .. digits[h] .. digits[i] .. digits[j])
a = a+1

if a=38
then
b = b+1
a = 1
end

if b = 38
then c = c+1
b=1
end

if c = 38
then d = d+1
c=1
end

if d = 38
then e = e+1
end

if e = 38
then f = f+1
e=1
end

if f = 38
then g = g+1
f = 1
end

if g = 38
then h = h+1
g=1
end

if h = 38
then i = i+1
h=1
end

if i = 38
then j = j+1
i = 1
end

me sale 'then' expected near '=' en la linea 21

estoy haciendo un script para toribash

se eliminaron 686 caracteres en el cuerpo
Origen Enlace
user128299
user128299
z = 1
a = 1
b = 1
c = 1
d = 1
e = 1
f = 1
g = 1
h = 1
i = 1
digits = {"","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"," ","0","1","2","3","4","5","6","7","8","9"}



for j=1,38,0 do

--run_cmd es una funcion personalizada
run_cmd("owner " .. digits[a] .. digits[b] .. digits[c] .. digits[d] .. digits[e] .. digits[f] .. digits[g] .. digits[h] .. digits[i] .. digits[j])
a = a+1

if a=38
then
b = b+1
a = 1
end

if b = 38
then c = c+1
b=1
end

if c = 38
then d = d+1
c=1
end

if d = 38
then e = e+1
end

if e = 38
then f = f+1
e=1
end

if f = 38
then g = g+1
f = 1
end

if g = 38
then h = h+1
g=1
end

if h = 38
then i = i+1
h=1
end

if i = 38
then j = j+1
i = 1
end

me sale 'then' expected near '=' en la linea 21

me sale 'then' expected near '=' en la linea 21

estoy haciendo un script para toribash, pero stackoverflow me obliga a dar mas informacion.

Ignorar lo siguiente, stackoverflow obliga a poner muchos detalles:

alsdnaiwduniuanwiduwhaiudhiuahefniuhwdaniñueafhniwdhbygusaydhbguwdgyuygw87gdawgbuwdgygawudguygawuduyjgawudyguyawgdusyyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

z = 1
a = 1
b = 1
c = 1
d = 1
e = 1
f = 1
g = 1
h = 1
i = 1
digits = {"","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"," ","0","1","2","3","4","5","6","7","8","9"}



for j=1,38,0 do

--run_cmd es una funcion personalizada
run_cmd("owner " .. digits[a] .. digits[b] .. digits[c] .. digits[d] .. digits[e] .. digits[f] .. digits[g] .. digits[h] .. digits[i] .. digits[j])
a = a+1

if a=38
then
b = b+1
a = 1
end

if b = 38
then c = c+1
b=1
end

if c = 38
then d = d+1
c=1
end

if d = 38
then e = e+1
end

if e = 38
then f = f+1
e=1
end

if f = 38
then g = g+1
f = 1
end

if g = 38
then h = h+1
g=1
end

if h = 38
then i = i+1
h=1
end

if i = 38
then j = j+1
i = 1
end

me sale 'then' expected near '=' en la linea 21

estoy haciendo un script para toribash, pero stackoverflow me obliga a dar mas informacion.

Ignorar lo siguiente, stackoverflow obliga a poner muchos detalles:

alsdnaiwduniuanwiduwhaiudhiuahefniuhwdaniñueafhniwdhbygusaydhbguwdgyuygw87gdawgbuwdgygawudguygawuduyjgawudyguyawgdusyyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

z = 1
a = 1
b = 1
c = 1
d = 1
e = 1
f = 1
g = 1
h = 1
i = 1
digits = {"","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"," ","0","1","2","3","4","5","6","7","8","9"}



for j=1,38,0 do

--run_cmd es una funcion personalizada
run_cmd("owner " .. digits[a] .. digits[b] .. digits[c] .. digits[d] .. digits[e] .. digits[f] .. digits[g] .. digits[h] .. digits[i] .. digits[j])
a = a+1

if a=38
then
b = b+1
a = 1
end

if b = 38
then c = c+1
b=1
end

if c = 38
then d = d+1
c=1
end

if d = 38
then e = e+1
end

if e = 38
then f = f+1
e=1
end

if f = 38
then g = g+1
f = 1
end

if g = 38
then h = h+1
g=1
end

if h = 38
then i = i+1
h=1
end

if i = 38
then j = j+1
i = 1
end

me sale 'then' expected near '=' en la linea 21

estoy haciendo un script para toribash, pero stackoverflow me obliga a dar mas informacion.

se añadieron 15 caracteres en el cuerpo
Origen Enlace
z = 1
a = 1
b = 1
c = 1
d = 1
e = 1
f = 1
g = 1
h = 1
i = 1
digits = {"","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"," ","0","1","2","3","4","5","6","7","8","9"}



for j=1,38,0 do

--run_cmd es una funcion personalizada
run_cmd("owner " .. digits[a] .. digits[b] .. digits[c] .. digits[d] .. digits[e] .. digits[f] .. digits[g] .. digits[h] .. digits[i] .. digits[j])
a = a+1

if a=38
then
b = b+1
a = 1
end

if b = 38
then c = c+1
b=1
end

if c = 38
then d = d+1
c=1
end

if d = 38
then e = e+1
end

if e = 38
then f = f+1
e=1
end

if f = 38
then g = g+1
f = 1
end

if g = 38
then h = h+1
g=1
end

if h = 38
then i = i+1
h=1
end

if i = 38
then j = j+1
i = 1
end

me sale 'then' expected near '=' en la linea 21

estoy haciendo un script para toribash, pero stackoverflow me obliga a dar mas informacion.

Ignorar lo siguiente, stackoverflow obliga a poner muchos detalles:

alsdnaiwduniuanwiduwhaiudhiuahefniuhwdaniñueafhniwdhbygusaydhbguwdgyuygw87gdawgbuwdgygawudguygawuduyjgawudyguyawgdusyyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

z = 1
a = 1
b = 1
c = 1
d = 1
e = 1
f = 1
g = 1
h = 1
i = 1
digits = {"","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"," ","0","1","2","3","4","5","6","7","8","9"}



for j=1,38,0 do

--run_cmd es una funcion personalizada
run_cmd("owner " .. digits[a] .. digits[b] .. digits[c] .. digits[d] .. digits[e] .. digits[f] .. digits[g] .. digits[h] .. digits[i] .. digits[j])
a = a+1

if a=38
then
b = b+1
a = 1
end

if b = 38
then c = c+1
b=1
end

if c = 38
then d = d+1
c=1
end

if d = 38
then e = e+1
end

if e = 38
then f = f+1
e=1
end

if f = 38
then g = g+1
f = 1
end

if g = 38
then h = h+1
g=1
end

if h = 38
then i = i+1
h=1
end

if i = 38
then j = j+1
i = 1
end

me sale 'then' expected near '='

estoy haciendo un script para toribash, pero stackoverflow me obliga a dar mas informacion.

Ignorar lo siguiente, stackoverflow obliga a poner muchos detalles:

alsdnaiwduniuanwiduwhaiudhiuahefniuhwdaniñueafhniwdhbygusaydhbguwdgyuygw87gdawgbuwdgygawudguygawuduyjgawudyguyawgdusyyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

z = 1
a = 1
b = 1
c = 1
d = 1
e = 1
f = 1
g = 1
h = 1
i = 1
digits = {"","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"," ","0","1","2","3","4","5","6","7","8","9"}



for j=1,38,0 do

--run_cmd es una funcion personalizada
run_cmd("owner " .. digits[a] .. digits[b] .. digits[c] .. digits[d] .. digits[e] .. digits[f] .. digits[g] .. digits[h] .. digits[i] .. digits[j])
a = a+1

if a=38
then
b = b+1
a = 1
end

if b = 38
then c = c+1
b=1
end

if c = 38
then d = d+1
c=1
end

if d = 38
then e = e+1
end

if e = 38
then f = f+1
e=1
end

if f = 38
then g = g+1
f = 1
end

if g = 38
then h = h+1
g=1
end

if h = 38
then i = i+1
h=1
end

if i = 38
then j = j+1
i = 1
end

me sale 'then' expected near '=' en la linea 21

estoy haciendo un script para toribash, pero stackoverflow me obliga a dar mas informacion.

Ignorar lo siguiente, stackoverflow obliga a poner muchos detalles:

alsdnaiwduniuanwiduwhaiudhiuahefniuhwdaniñueafhniwdhbygusaydhbguwdgyuygw87gdawgbuwdgygawudguygawuduyjgawudyguyawgdusyyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Origen Enlace
Loading