SCARSCRIPTER101
Member
I have tried to write an encoding script but nothing happens but write a's in the debug box, note that this is a test script and is very repetitive:nuts:
Code:
var abc1,abc2,abc3,abc4,abc5,abc6,abc7,abc8,abc9 :boolean;
var ran1,ran2,ran3,ran4,ran5,ran6,ran7,ran8,a1,b1,c1,d1,ii :integer;
var i0,i1,i2,i3,i4,i5,i6,i7,i8,i9,i10,i11,i12,i13,i14,i15,i16,i17,i18,i19,i20,i21,i22,i23,i24,i25,i26 :string;
var y1,y2,y3,y4,y5,y6,y7,y8,y9 :integer;
const
a = 1;
b = 2;
c = 3;
d = 4;
e = 5;
f = 6;
g = 7;
h = 8;
i = 9;
j = 10;
k = 11;
l = 12;
m = 13;
n = 14;
o = 15;
p = 16;
q = 17;
r = 18;
s = 19;
t = 20;
u = 21;
v = 22;
w = 23;
x = 24;
y = 25;
z = 26;
procedure Protocols;
begin
a1 := 21 + random(50);
b1 := 7 * random(8);
c1 := 100 - random(78);
d1 := 80 / random(5);
ran1 := a1 + 21 + random(40);
ran2 := d1 + b1 + 15;
ran3 := 50 - d1;
ran4 := 10 + random(42);
ran5 := random(7) * random(10);
ran6 := a1 + b1 + c1 + d1;
ran7 := 12 + random(8);
ran8 := ran2 - ran7 + random(20);
i0 := '-';
i1 := 'a';
i2 := 'b';
i3 := 'c';
i4 := 'd';
i5 := 'e';
i6 := 'f';
i7 := 'g';
i8 := 'h';
i9 := 'i';
i10 := 'j';
i11 := 'k';
i12 := 'l';
i13 := 'm';
i14 := 'n';
i15 := 'o';
i16 := 'p';
i17 := 'q';
i18 := 'r';
i19 := 's';
i20 := 't';
i21 := 'u';
i22 := 'v';
i23 := 'w';
i24 := 'x';
i25 := 'y';
i26 := 'z';
end;
procedure Report;
begin
y1 := 1;
y2 := 15;
y3 := 0;
y4 := 7;
y5 := 2;
y6 := 23;
y7 := 18;
abc1 := false;
abc2 := false;
abc3 := false;
abc4 := false;
abc5 := false;
abc6 := false;
abc7 := false;
abc8 := false;
abc9 := false;
writeln('Encoded word = ');
repeat
ii := y1;
if ii = 0 then
writeln(i0);
if ii = a then
writeln(i1);
if ii = b then
writeln(i2);
if ii = c then
writeln(i3);
if ii = d then
writeln(i4);
if ii = e then
writeln(i5);
if ii = f then
writeln(i6);
if ii = g then
writeln(i7);
if ii = h then
writeln(i8);
if ii = i then
writeln(i9);
if ii = j then
writeln(i10);
if ii = k then
writeln(i11);
if ii = l then
writeln(i12);
if ii = m then
writeln(i13);
if ii = n then
writeln(i14);
if ii = o then
writeln(i15);
if ii = p then
writeln(i16);
if ii = q then
writeln(i17);
if ii = r then
writeln(i18);
if ii = s then
writeln(i19);
if ii = t then
writeln(i20);
if ii = u then
writeln(i21);
if ii = v then
writeln(i22);
if ii = w then
writeln(i23);
if ii = x then
writeln(i24);
if ii = y then
writeln(i25);
if ii = z then
writeln(i26);
if ii = a or
b or
c or
d or
e or
f or
g or
h or
i or
j or
k or
l or
m or
n or
o or
p or
q or
r or
s or
t or
u or
v or
w or
x or
y or
z or
0 then
abc1 := true;
until(abc1 = true);
wait(2000);
repeat
ii := y2;
if ii = 0 then
writeln(i0);
if ii = a then
writeln(i1);
if ii = b then
writeln(i2);
if ii = c then
writeln(i3);
if ii = d then
writeln(i4);
if ii = e then
writeln(i5);
if ii = f then
writeln(i6);
if ii = g then
writeln(i7);
if ii = h then
writeln(i8);
if ii = i then
writeln(i9);
if ii = j then
writeln(i10);
if ii = k then
writeln(i11);
if ii = l then
writeln(i12);
if ii = m then
writeln(i13);
if ii = n then
writeln(i14);
if ii = o then
writeln(i15);
if ii = p then
writeln(i16);
if ii = q then
writeln(i17);
if ii = r then
writeln(i18);
if ii = s then
writeln(i19);
if ii = t then
writeln(i20);
if ii = u then
writeln(i21);
if ii = v then
writeln(i22);
if ii = w then
writeln(i23);
if ii = x then
writeln(i24);
if ii = y then
writeln(i25);
if ii = z then
writeln(i26);
if ii = a or
b or
c or
d or
e or
f or
g or
h or
i or
j or
k or
l or
m or
n or
o or
p or
q or
r or
s or
t or
u or
v or
w or
x or
y or
z or
0 then
abc2 := true;
until(abc2 = true);
repeat
ii := y3;
if ii = 0 then
writeln(i0);
if ii = a then
writeln(i1);
if ii = b then
writeln(i2);
if ii = c then
writeln(i3);
if ii = d then
writeln(i4);
if ii = e then
writeln(i5);
if ii = f then
writeln(i6);
if ii = g then
writeln(i7);
if ii = h then
writeln(i8);
if ii = i then
writeln(i9);
if ii = j then
writeln(i10);
if ii = k then
writeln(i11);
if ii = l then
writeln(i12);
if ii = m then
writeln(i13);
if ii = n then
writeln(i14);
if ii = o then
writeln(i15);
if ii = p then
writeln(i16);
if ii = q then
writeln(i17);
if ii = r then
writeln(i18);
if ii = s then
writeln(i19);
if ii = t then
writeln(i20);
if ii = u then
writeln(i21);
if ii = v then
writeln(i22);
if ii = w then
writeln(i23);
if ii = x then
writeln(i24);
if ii = y then
writeln(i25);
if ii = z then
writeln(i26);
if ii = a or
b or
c or
d or
e or
f or
g or
h or
i or
j or
k or
l or
m or
n or
o or
p or
q or
r or
s or
t or
u or
v or
w or
x or
y or
z or
0 then
abc3 := true;
until(abc3 = true);
repeat
ii := y4;
if ii = 0 then
writeln(i0);
if ii = a then
writeln(i1);
if ii = b then
writeln(i2);
if ii = c then
writeln(i3);
if ii = d then
writeln(i4);
if ii = e then
writeln(i5);
if ii = f then
writeln(i6);
if ii = g then
writeln(i7);
if ii = h then
writeln(i8);
if ii = i then
writeln(i9);
if ii = j then
writeln(i10);
if ii = k then
writeln(i11);
if ii = l then
writeln(i12);
if ii = m then
writeln(i13);
if ii = n then
writeln(i14);
if ii = o then
writeln(i15);
if ii = p then
writeln(i16);
if ii = q then
writeln(i17);
if ii = r then
writeln(i18);
if ii = s then
writeln(i19);
if ii = t then
writeln(i20);
if ii = u then
writeln(i21);
if ii = v then
writeln(i22);
if ii = w then
writeln(i23);
if ii = x then
writeln(i24);
if ii = y then
writeln(i25);
if ii = z then
writeln(i26);
if ii = a or
b or
c or
d or
e or
f or
g or
h or
i or
j or
k or
l or
m or
n or
o or
p or
q or
r or
s or
t or
u or
v or
w or
x or
y or
z or
0 then
abc4 := true;
until(abc4 = true);
repeat
ii := y5;
if ii = 0 then
writeln(i0);
if ii = a then
writeln(i1);
if ii = b then
writeln(i2);
if ii = c then
writeln(i3);
if ii = d then
writeln(i4);
if ii = e then
writeln(i5);
if ii = f then
writeln(i6);
if ii = g then
writeln(i7);
if ii = h then
writeln(i8);
if ii = i then
writeln(i9);
if ii = j then
writeln(i10);
if ii = k then
writeln(i11);
if ii = l then
writeln(i12);
if ii = m then
writeln(i13);
if ii = n then
writeln(i14);
if ii = o then
writeln(i15);
if ii = p then
writeln(i16);
if ii = q then
writeln(i17);
if ii = r then
writeln(i18);
if ii = s then
writeln(i19);
if ii = t then
writeln(i20);
if ii = u then
writeln(i21);
if ii = v then
writeln(i22);
if ii = w then
writeln(i23);
if ii = x then
writeln(i24);
if ii = y then
writeln(i25);
if ii = z then
writeln(i26);
if ii = a or
b or
c or
d or
e or
f or
g or
h or
i or
j or
k or
l or
m or
n or
o or
p or
q or
r or
s or
t or
u or
v or
w or
x or
y or
z or
0 then
abc5 := true;
until(abc5 = true);
repeat
ii := y6;
if ii = 0 then
writeln(i0);
if ii = a then
writeln(i1);
if ii = b then
writeln(i2);
if ii = c then
writeln(i3);
if ii = d then
writeln(i4);
if ii = e then
writeln(i5);
if ii = f then
writeln(i6);
if ii = g then
writeln(i7);
if ii = h then
writeln(i8);
if ii = i then
writeln(i9);
if ii = j then
writeln(i10);
if ii = k then
writeln(i11);
if ii = l then
writeln(i12);
if ii = m then
writeln(i13);
if ii = n then
writeln(i14);
if ii = o then
writeln(i15);
if ii = p then
writeln(i16);
if ii = q then
writeln(i17);
if ii = r then
writeln(i18);
if ii = s then
writeln(i19);
if ii = t then
writeln(i20);
if ii = u then
writeln(i21);
if ii = v then
writeln(i22);
if ii = w then
writeln(i23);
if ii = x then
writeln(i24);
if ii = y then
writeln(i25);
if ii = z then
writeln(i26);
if ii = a or
b or
c or
d or
e or
f or
g or
h or
i or
j or
k or
l or
m or
n or
o or
p or
q or
r or
s or
t or
u or
v or
w or
x or
y or
z or
0 then
abc6 := true;
until(abc6 = true);
repeat
ii := y7;
if ii = 0 then
writeln(i0);
if ii = a then
writeln(i1);
if ii = b then
writeln(i2);
if ii = c then
writeln(i3);
if ii = d then
writeln(i4);
if ii = e then
writeln(i5);
if ii = f then
writeln(i6);
if ii = g then
writeln(i7);
if ii = h then
writeln(i8);
if ii = i then
writeln(i9);
if ii = j then
writeln(i10);
if ii = k then
writeln(i11);
if ii = l then
writeln(i12);
if ii = m then
writeln(i13);
if ii = n then
writeln(i14);
if ii = o then
writeln(i15);
if ii = p then
writeln(i16);
if ii = q then
writeln(i17);
if ii = r then
writeln(i18);
if ii = s then
writeln(i19);
if ii = t then
writeln(i20);
if ii = u then
writeln(i21);
if ii = v then
writeln(i22);
if ii = w then
writeln(i23);
if ii = x then
writeln(i24);
if ii = y then
writeln(i25);
if ii = z then
writeln(i26);
if ii = a or
b or
c or
d or
e or
f or
g or
h or
i or
j or
k or
l or
m or
n or
o or
p or
q or
r or
s or
t or
u or
v or
w or
x or
y or
z or
0 then
abc7 := true;
until(abc7 = true);
repeat
ii := y8;
if ii = 0 then
writeln(i0);
if ii = a then
writeln(i1);
if ii = b then
writeln(i2);
if ii = c then
writeln(i3);
if ii = d then
writeln(i4);
if ii = e then
writeln(i5);
if ii = f then
writeln(i6);
if ii = g then
writeln(i7);
if ii = h then
writeln(i8);
if ii = i then
writeln(i9);
if ii = j then
writeln(i10);
if ii = k then
writeln(i11);
if ii = l then
writeln(i12);
if ii = m then
writeln(i13);
if ii = n then
writeln(i14);
if ii = o then
writeln(i15);
if ii = p then
writeln(i16);
if ii = q then
writeln(i17);
if ii = r then
writeln(i18);
if ii = s then
writeln(i19);
if ii = t then
writeln(i20);
if ii = u then
writeln(i21);
if ii = v then
writeln(i22);
if ii = w then
writeln(i23);
if ii = x then
writeln(i24);
if ii = y then
writeln(i25);
if ii = z then
writeln(i26);
if ii = a or
b or
c or
d or
e or
f or
g or
h or
i or
j or
k or
l or
m or
n or
o or
p or
q or
r or
s or
t or
u or
v or
w or
x or
y or
z or
0 then
abc8 := true;
until(abc8 = true);
repeat
ii := y9;
if ii = 0 then
writeln(i0);
if ii = a then
writeln(i1);
if ii = b then
writeln(i2);
if ii = c then
writeln(i3);
if ii = d then
writeln(i4);
if ii = e then
writeln(i5);
if ii = f then
writeln(i6);
if ii = g then
writeln(i7);
if ii = h then
writeln(i8);
if ii = i then
writeln(i9);
if ii = j then
writeln(i10);
if ii = k then
writeln(i11);
if ii = l then
writeln(i12);
if ii = m then
writeln(i13);
if ii = n then
writeln(i14);
if ii = o then
writeln(i15);
if ii = p then
writeln(i16);
if ii = q then
writeln(i17);
if ii = r then
writeln(i18);
if ii = s then
writeln(i19);
if ii = t then
writeln(i20);
if ii = u then
writeln(i21);
if ii = v then
writeln(i22);
if ii = w then
writeln(i23);
if ii = x then
writeln(i24);
if ii = y then
writeln(i25);
if ii = z then
writeln(i26);
if ii = a or
b or
c or
d or
e or
f or
g or
h or
i or
j or
k or
l or
m or
n or
o or
p or
q or
r or
s or
t or
u or
v or
w or
x or
y or
z or
0 then
abc9 := true;
until(abc9 = true);
end;
begin
Protocols;
Report;
end.

