I am planning on making a script unscramble letters. In the beginning, would I use varibles to make a : n or how will I do it?
I am planning on making a script unscramble letters. In the beginning, would I use varibles to make a : n or how will I do it?
http://www.stats.srl-forums.com/sigs/3244.png
http://i153.photobucket.com/albums/s...ons/STUPID.jpg
Give me a Break! No evidence for a ban!
I want it basicly to change scrambled words to real words when it writes it to a string so I would have a = n. When it writes the string it will have a to a n instead of a regular a.
http://www.stats.srl-forums.com/sigs/3244.png
http://i153.photobucket.com/albums/s...ons/STUPID.jpg
Give me a Break! No evidence for a ban!
To set a variable to another variable you would just do
SCAR Code:program Vari;
var
a, n : Integer;
begin
a := 's';
n := a;
Writeln(n);
end.
It says type mismatch. Will this write a whole string translated becuse its not only 1 letter. It's sentences that are unscrambled.
http://www.stats.srl-forums.com/sigs/3244.png
http://i153.photobucket.com/albums/s...ons/STUPID.jpg
Give me a Break! No evidence for a ban!
Oh sorry ^_^ its
SCAR Code:program Vari;
var
a, n : string;
begin
a := 's';
n := a;
Writeln(n);
end.
and Im not sure what you mean exactly but
SCAR Code:program Test;
var
a, b, c, d : string;
begin
a := 'Hello, ';
b := 'Is this ';
c := 'What you wanted?';
d := a + b + c;
writeln(d);
end.
Is that kinda what you wanted?
So when I put every other letter in it should translate it?
http://www.stats.srl-forums.com/sigs/3244.png
http://i153.photobucket.com/albums/s...ons/STUPID.jpg
Give me a Break! No evidence for a ban!
Could you give me an example of what you mean? I don't understand what your saying exactly.
An easier way would be using ASCII.SCAR Code:if(Str1 = 'a') then
Str1 := 'b';
Is this what you wanted?
Huehuehuehuehue
I want to have:
a=n
b=o
c=p
d=q
e=r
f=s
g=t
h=u
i=v
j=w
k=x
l=y
m=z
And when you have something like this:
uv gurer
the string will display it the right way:
hi there
http://www.stats.srl-forums.com/sigs/3244.png
http://i153.photobucket.com/albums/s...ons/STUPID.jpg
Give me a Break! No evidence for a ban!
So if id type in a form the letter A it would change to N, is that what you mean?
PARTS TAKEN FROM MY KEYLOGGER:
Like that..? :?program New;
Procedure hmm;
begin
if(IsKeyDown('a'))then
begin
writeln('n')
wait(100)
end;
if(IsKeyDown('b'))then
begin
writeln('o')
wait(100)
end;
if(IsKeyDown('c'))then
begin
writeln('p')
wait(100)
end;
if(IsKeyDown('d'))then
begin
writeln('q')
wait(100)
end;
if(IsKeyDown('e'))then
begin
writeln('r')
wait(100)
end;
if(IsKeyDown('f'))then
begin
writeln('s')
wait(100)
end;
if(IsKeyDown('g'))then
begin
writeln('t')
wait(100)
end;
if(IsKeyDown('h'))then
begin
writeln('u')
wait(100)
end;
if(IsKeyDown('i'))then
begin
writeln('v')
wait(100)
end;
if(IsKeyDown('j'))then
begin
writeln('w')
wait(100)
end;
if(IsKeyDown('k'))then
begin
writeln('x')
wait(100)
end;
if(IsKeyDown('l'))then
begin
writeln('y')
wait(100)
end;
if(IsKeyDown('m'))then
begin
writeln('z')
wait(100)
end;
end;
begin
repeat
hmm
until(false)
end.
PwNZoRNooB, your right. It will write the string with it converted.
http://www.stats.srl-forums.com/sigs/3244.png
http://i153.photobucket.com/albums/s...ons/STUPID.jpg
Give me a Break! No evidence for a ban!
There are currently 1 users browsing this thread. (0 members and 1 guests)