Discuss Scratch

coolkidguything
Scratcher
55 posts

How to convert numbers to letters

Hey Scratchers thanks for clicking this link and trying to help me I need some help on scripts I worked one for a month now and can''t try to do It If some of you know please help me it means a lot to me so thanks
when green flag clicked
forever
say [thank you for helping me :)] for (how long it will take :|) secs
end
thanks !! (ΘεΘ ;)
BluePC1
Scratcher
98 posts

How to convert numbers to letters

coolkidguything wrote:

Hey Scratchers thanks for clicking this link and trying to help me I need some help on scripts I worked one for a month now and can''t try to do It If some of you know please help me it means a lot to me so thanks
when green flag clicked
forever
say [thank you for helping me :)] for (how long it will take :|) secs
end
thanks !! (ΘεΘ ;)
Sorry, what are you trying to do?
deck26
Scratcher
1000+ posts

How to convert numbers to letters

Are you decoding text that has been encoded? If so the decoding method obviously has to match the encoding method so we''d need to know what that was.
coolkidguything
Scratcher
55 posts

How to convert numbers to letters

like this CLICK HERE thats the link
Cat-Alex
Scratcher
81 posts

How to convert numbers to letters

turn cw (89) degrees
XD
deck26
Scratcher
1000+ posts

How to convert numbers to letters

coolkidguything wrote:

like this CLICK HERE thats the link
So the order of the characters in that text string is very important.

If you have a numeric string like 052316 you need to loop through it.

For the first number you join letter 1 and letter 2 from that string to get 05. You then want letter 05 from the character string.

Move on the next letter - letters 3 and 4 give you 23 so you want letter 23 from the chracter string.

It's confusing talking about taking letter n from a numeric string - it would be better if Scratch referred to character than letter.

So it's a basic loop

set counter to 1
set text to blank
repeat until counter > length of input
set temp to join (letter counter of input) (letter counter+1 of input)
set text to join text (letter temp of characters)
change counter by 2
end
coolkidguything
Scratcher
55 posts

How to convert numbers to letters

deck26 wrote:

coolkidguything wrote:

like this CLICK HERE thats the link
So the order of the characters in that text string is very important.

If you have a numeric string like 052316 you need to loop through it.

For the first number you join letter 1 and letter 2 from that string to get 05. You then want letter 05 from the character string.

Move on the next letter - letters 3 and 4 give you 23 so you want letter 23 from the chracter string.

It's confusing talking about taking letter n from a numeric string - it would be better if Scratch referred to character than letter.

So it's a basic loop

set counter to 1
set text to blank
repeat until counter > length of input
set temp to join (letter counter of input) (letter counter+1 of input)
set text to join text (letter temp of characters)
change counter by 2
end
define encode//WITHOUT SCREEN REFRESH//
set [counter v] to [1]
set [output v] to []
repeat until <(counter) > (length of (input))>
set [ tempv] to (join (letter (counter)) [world])

end
deck26
Scratcher
1000+ posts

How to convert numbers to letters

coolkidguything wrote:

deck26 wrote:

coolkidguything wrote:

like this CLICK HERE thats the link
So the order of the characters in that text string is very important.

If you have a numeric string like 052316 you need to loop through it.

For the first number you join letter 1 and letter 2 from that string to get 05. You then want letter 05 from the character string.

Move on the next letter - letters 3 and 4 give you 23 so you want letter 23 from the chracter string.

It's confusing talking about taking letter n from a numeric string - it would be better if Scratch referred to character than letter.

So it's a basic loop

set counter to 1
set text to blank
repeat until counter > length of input
set temp to join (letter counter of input) (letter counter+1 of input)
set text to join text (letter temp of characters)
change counter by 2
end
define encode//WITHOUT SCREEN REFRESH//
set [counter v] to [1]
set [output v] to []
repeat until <(counter) > (length of (input))>
set [ tempv] to (join (letter (counter)) [world])

end
That doesn't match my pseudocode.
coolkidguything
Scratcher
55 posts

How to convert numbers to letters

deck26 wrote:

coolkidguything wrote:

deck26 wrote:

coolkidguything wrote:

like this CLICK HERE thats the link
So the order of the characters in that text string is very important.

If you have a numeric string like 052316 you need to loop through it.

For the first number you join letter 1 and letter 2 from that string to get 05. You then want letter 05 from the character string.

Move on the next letter - letters 3 and 4 give you 23 so you want letter 23 from the chracter string.

It's confusing talking about taking letter n from a numeric string - it would be better if Scratch referred to character than letter.

So it's a basic loop

set counter to 1
set text to blank
repeat until counter > length of input
set temp to join (letter counter of input) (letter counter+1 of input)
set text to join text (letter temp of characters)
change counter by 2
end
define encode//WITHOUT SCREEN REFRESH//
set [counter v] to [1]
set [output v] to []
repeat until <(counter) > (length of (input))>
set [ tempv] to (join (letter (counter)) [world])

end
That doesn't match my pseudocode.
Yeah I was a little to Lazy I
deck26
Scratcher
1000+ posts

How to convert numbers to letters

coolkidguything wrote:

deck26 wrote:

coolkidguything wrote:

deck26 wrote:

coolkidguything wrote:

like this CLICK HERE thats the link
So the order of the characters in that text string is very important.

If you have a numeric string like 052316 you need to loop through it.

For the first number you join letter 1 and letter 2 from that string to get 05. You then want letter 05 from the character string.

Move on the next letter - letters 3 and 4 give you 23 so you want letter 23 from the chracter string.

It's confusing talking about taking letter n from a numeric string - it would be better if Scratch referred to character than letter.

So it's a basic loop

set counter to 1
set text to blank
repeat until counter > length of input
set temp to join (letter counter of input) (letter counter+1 of input)
set text to join text (letter temp of characters)
change counter by 2
end
define encode//WITHOUT SCREEN REFRESH//
set [counter v] to [1]
set [output v] to []
repeat until <(counter) > (length of (input))>
set [ tempv] to (join (letter (counter)) [world])

end
That doesn't match my pseudocode.
Yeah I was a little to Lazy I
So don't post rather than posting something that is nonsense!
coolkidguything
Scratcher
55 posts

How to convert numbers to letters

deck26 wrote:

coolkidguything wrote:

deck26 wrote:

coolkidguything wrote:

deck26 wrote:

coolkidguything wrote:

like this CLICK HERE thats the link
So the order of the characters in that text string is very important.

If you have a numeric string like 052316 you need to loop through it.

For the first number you join letter 1 and letter 2 from that string to get 05. You then want letter 05 from the character string.

Move on the next letter - letters 3 and 4 give you 23 so you want letter 23 from the chracter string.

It's confusing talking about taking letter n from a numeric string - it would be better if Scratch referred to character than letter.

So it's a basic loop

set counter to 1
set text to blank
repeat until counter > length of input
set temp to join (letter counter of input) (letter counter+1 of input)
set text to join text (letter temp of characters)
change counter by 2
end
define encode//WITHOUT SCREEN REFRESH//
set [counter v] to [1]
set [output v] to []
repeat until <(counter) > (length of (input))>
set [ tempv] to (join (letter (counter)) [world])

end
That doesn't match my pseudocode.
Yeah I was a little to Lazy I
So don't post rather than posting something that is nonsense!
Yeah I need work on the that
coolkidguything
Scratcher
55 posts

How to convert numbers to letters

hacked blocks !!
define when green flag clicked
define <[ v] contains [thing] ?>
define set [ v] to []
define <[when green flag is clicked] = [when green flag is clicked]>
define (distance to [ v])
dicecyandye
Scratcher
19 posts

How to convert numbers to letters

when green flag clicked
meow up
meow down
dicecyandye
Scratcher
19 posts

How to convert numbers to letters

when green flag clicked
define ([scratchblocks]
)[/scratchblocks]
stop all sounds
[scratchblocks]
rest for ([scratchblocks]
) beats[/scratchblocks]
play note ([scratchblocks]
v) for (0.5) beats
set instrument to ( v)
change volume by ()
change volume by ()
set volume to () %
[/scratchblocks]
[/scratchblocks]

Last edited by dicecyandye (Oct. 17, 2019 11:40:45)

dicecyandye
Scratcher
19 posts

How to convert numbers to letters

define Char(char)
set [Char set] to (char)
set [Decode] to (pick random (0) to (28))
Set [Endcode] to ((((char) / (0)) - (Decode)) - ((Char set) + (Decode)
when green flag clicked
repeat (char)
Char[abcdefghijklmnopqrstuvwxyz]
Char[1234567890]
Char[!@#$%^&*()\/<">.',]
Char[+-*/=~]
end

Last edited by dicecyandye (Oct. 17, 2019 11:51:29)

coolkidguything
Scratcher
55 posts

How to convert numbers to letters

dicecyandye wrote:

when green flag clicked
define ([scratchblocks]
)[/scratchblocks]
stop all sounds
[scratchblocks]
rest for ([scratchblocks]
) beats[/scratchblocks]
play note ([scratchblocks]
v) for (0.5) beats
set instrument to ( v)
change volume by ()
change volume by ()
set volume to () %
[/scratchblocks]
[/scratchblocks]
define how to hack JSON <[ v] contains [thing] ?>(distance to [ v])
say(omae wa mou sinderu) in (10000000000000000000000000000000000000000000000) seconds
<you licked the computer?>
</scratch blocks>
set pen size to (:lol::lol::lol::lol::lol::lol::lol::lol::lol:)
deck26
Scratcher
1000+ posts

How to convert numbers to letters

coolkidguything wrote:

dicecyandye wrote:

when green flag clicked
define ([scratchblocks]
)[/scratchblocks]
stop all sounds
[scratchblocks]
rest for ([scratchblocks]
) beats[/scratchblocks]
play note ([scratchblocks]
v) for (0.5) beats
set instrument to ( v)
change volume by ()
change volume by ()
set volume to () %
[/scratchblocks]
[/scratchblocks]
define how to hack JSON <[ v] contains [thing] ?>(distance to [ v])
say(omae wa mou sinderu) in (10000000000000000000000000000000000000000000000) seconds
<you licked the computer?>
</scratch blocks>
set pen size to (:lol::lol::lol::lol::lol::lol::lol::lol::lol:)
This topic seems to have become nothing but spam - I suggest you close it if your question has been answered.
coolkidguything
Scratcher
55 posts

How to convert numbers to letters

deck26 wrote:

coolkidguything wrote:

dicecyandye wrote:

when green flag clicked
define ([scratchblocks]
)[/scratchblocks]
stop all sounds
[scratchblocks]
rest for ([scratchblocks]
) beats[/scratchblocks]
play note ([scratchblocks]
v) for (0.5) beats
set instrument to ( v)
change volume by ()
change volume by ()
set volume to () %
[/scratchblocks]
[/scratchblocks]
define how to hack JSON <[ v] contains [thing] ?>(distance to [ v])
say(omae wa mou sinderu) in (10000000000000000000000000000000000000000000000) seconds
<you licked the computer?>
</scratch blocks>
set pen size to (:lol::lol::lol::lol::lol::lol::lol::lol::lol:)
This topic seems to have become nothing but spam - I suggest you close it if your question has been answered.
yeah okay

Powered by DjangoBB