Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » I need help with an ASCII converter.
- cupcake1502
-
100+ posts
I need help with an ASCII converter.
Hi,
I am working on a ASCII Converter (https://scratch.mit.edu/projects/517256422/) that converts letters, numbers and symbols into ASCII Code.
The part where it adds the code to copy and paste doesn't work. Please tell me how to fix it ASAP. Thank you.
I am working on a ASCII Converter (https://scratch.mit.edu/projects/517256422/) that converts letters, numbers and symbols into ASCII Code.
The part where it adds the code to copy and paste doesn't work. Please tell me how to fix it ASAP. Thank you.
- pkhead
-
1000+ posts
I need help with an ASCII converter.
you're putting it in the “ascii” list instead of the “ascii encoded” list lol
also, your project isn't shared. ummmm i used turbowarp to access it. don't tell anyone i did that. scratch doesn't deny access to apis asking for the contents of unshared projects for some reason. they should fix that.
also, your project isn't shared. ummmm i used turbowarp to access it. don't tell anyone i did that. scratch doesn't deny access to apis asking for the contents of unshared projects for some reason. they should fix that.
Last edited by pkhead (April 18, 2021 05:21:06)
- awesome-llama
-
1000+ posts
I need help with an ASCII converter.
It is shared but the URL is wrong as there is a bracket in it. you're putting it in the “ascii” list instead of the “ascii encoded” list lol
also, your project isn't shared. ummmm i used turbowarp to access it. don't tell anyone i did that. scratch doesn't deny access to apis asking for the contents of unshared projects for some reason. they should fix that.
One of the issues, like pkhead said was that the output is being put in to the wrong list so you can't see it.
There is another problem as well, where the data is only being output as zeroes. This is because the script must have either of the if blocks true, which almost never happens:

If the blocks are not used, then there will be a 0 as no data has been set to the variable.
- cupcake1502
-
100+ posts
I need help with an ASCII converter.
yeah, i fixed it you're putting it in the “ascii” list instead of the “ascii encoded” list lol
also, your project isn't shared. ummmm i used turbowarp to access it. don't tell anyone i did that. scratch doesn't deny access to apis asking for the contents of unshared projects for some reason. they should fix that.
- cupcake1502
-
100+ posts
I need help with an ASCII converter.
i also fixed thisIt is shared but the URL is wrong as there is a bracket in it. you're putting it in the “ascii” list instead of the “ascii encoded” list lol
also, your project isn't shared. ummmm i used turbowarp to access it. don't tell anyone i did that. scratch doesn't deny access to apis asking for the contents of unshared projects for some reason. they should fix that.
One of the issues, like pkhead said was that the output is being put in to the wrong list so you can't see it.
There is another problem as well, where the data is only being output as zeroes. This is because the script must have either of the if blocks true, which almost never happens:
If the blocks are not used, then there will be a 0 as no data has been set to the variable.
- Discussion Forums
- » Help with Scripts
-
» I need help with an ASCII converter.