ScratchData LogoScratchData
Back to ik0000's profile

Code reader: S*

IKik0000•Created July 9, 2024
Code reader: S*
1
2
14 views
View on Scratch

Instructions

S* code reader (v3.3) "coding language" (not finished) ! Please read ! commands: .write" " " "= . /ask" " :wrt" " e:wrt" " :sleep() [] shortcuts: c = run code z = edit a line x = eliminate a line a = delete all of input s = delete all of script v = instert code in a specific line 1 = view mode, on 2 = view mode, off left arrow= save script right arrow= load script down arrow= hide save code Guide: .write Writes texts; .write"yourtext" If you want to write a variable then: .write"[variableName]" make sure the variable is inside the "[]" for it to write the Value of the variable. If you want to write text and write variables: (examples): .write"text [variableName] text" .write"text[variableName]" .write"[variableName"] text" I'm using spaces to separate them but it's optional: .write"text[variableName]" " "= . is used to make a variable; "variableName"=yourvalue. (make sure to always put a dot at the end.) /ask" " :wrt" " Is for asking (duh); /ask"yourtext"youranswer:wrt"yourtext" The "wrt" part is just .write And the "youranswer" part is the answer you want the user to input, you can change this for a variable; /ask"yourtext"variableName:wrt"yourtext" If the user inputs the wrong answer then you could add an else: ask"yourtext"answer:wrt"yourtext"e:wrt"yourtext" The "e" represents else. :sleep() [] is a wait command; :sleep(yourNumber) If you want to use variables: :sleep[variableName] note: you can't mix numbers and variables, so this is wrong: :sleep(number[variableName]) Only one of them. Example: "var"=1. "ans"=2. "var2"=3. .write"You have [var] points." :sleep(1) .write"Answer = 2" :sleep[var2] /ask"Enter answer"ans:wrt"You now have [var2] points." Save code of the example: "=var=1|"=ans=2|"=var2=3|.=You have [var] points.|:=(1)|.=Answer = 2|:=[var2]|/=Enter answer~ans~You now have [var2] points.|` more to come...

Description

All code was made by me. If you encounter any ACTUAL bugs please tell me! (bugs is if you have your script right but the reader just doesn't read it) Update log: v3.3: 30/07/2024: Added an else to the /ask command. v3.2: 30/07/2024: Changed thumbnail. v3.2: 29/07/2024: Added a save&load system: Added new shortcuts: left and right arrow The saving system uses Save codes. v2.2: 20/07/24: Added new command; :sleep() Added new shortcut: "v" v1.2: 20/07/24: Bug fix in detectable errors, bug fix in detecting lines. v1.1: 17/07/24: Detectable errors. v1.0: 17/07/24: Shared.

Project Details

Project ID1046141327
CreatedJuly 9, 2024
Last ModifiedOctober 31, 2024
SharedJuly 17, 2024
Visibilityvisible
CommentsAllowed