This is a bit complex. Note: as of moment only MOV SKP and DET are useable, and SKP and DET cannot be copied using MOV. Any experienced Scratcher who wants to try to debug SKP and DET can try to. Please, if you figure out a solution, comment it. And another thing: do not add to an add everything studio. MOV A B: Copy a line of code B away from the MOV line and move the copy A away from the MOV block. A and B must be between 9 and -9. SKP A: Skip that many lines of code. A must be positive. DET: Vanishes once run. REP A B: Repeat instructions up to A away from the REP line B times. A and B must be positive, and A and B must be less than 10. SCN A: Detects if there is a line of code A away from the SCN line. Next line of code only activates if there is, else it is skipped. VAR A B: Defines a variable A with value B. A must be a lower case letters. B must be an integer. Then deletes self. CHG A B: Changes variable A by value B. B must be an integer. VIF A B: If variable A has the value B, the next command will be run.
Based on Corewar. Your programs in Redscratch will duke it out once entered. Ah.... I intend to add more functionality and bug fixes after beta testing. Beta 1.0: Added MOV and SKP and DET. Note SKP and DET cannot be copied with MOV thanks to a bug.