Thanks! In the updated version I added a debugger, (for now you can find it at https://www.newgrounds.com/portal/view/991386, but I'll update here when the jam ends). It helps because without it it's difficult to understand what you did wrong, even though I don't know if it would make it easier to understand how to nest loops .
(if I write it indented, even though it's not necessary, it would be something like
repeat 2
repeat 2 move right end
repeat 2 move right end
end ).
I wasted a lot of time trying to make an interpreter for the commands, but it wasn't very easy, so it's actually transpiled to lua, you can see the similarities if you know the language :)