Snap! Extensions (Part 1)

Odd, I guess it is semi-operational. It wasnt working for me.

Huh. That's odd indeed.

Oh, I see. I was testing on a var that doesnt exist.

Oh and I just reloaded a replit page:

Hello everyone, repl.it is undergoing maintenance. Snap! Extensions is semi-operational. May become unoperational soon. Updates will be posted. If Snap! Extensions are not working, Replit is down. This should only last about an hour.

Yep:

Update!


You can now access a Scratch Cloud Variable from any project!
You can see the update here.

Scratchclient?

Yes.

Cool. Although there is a bug currently. I was going to do this with my bot. But while testing, I came across this bug: ValueError: Variable '☁ cloud0' is not in this project · Issue #27 · CubeyTheCube/scratchclient · GitHub You might've seen the big multi-line comment I had in my REPL. Also, this bug isn't going to get fixed anytime soon because the guy who created this module is not checking on it anymore. That's why I didn't add it.

Um, it is working for me.

Ah. Well, then I don't know. But for me, setting and getting the first cloud var in a project would return an error saying the var didn't exist.

Your cloud vars aren't working.
I set "NewYearChat" to "{}"
It takes about 60 secs then its done.
Then I press the form cloud block with "NewYearChat". It takes about 60 secs then returns "".

I just tested it and I thought it was entirely not functional.

But yeah you're right, it does take ~a minute.

Ah, the server is down. (It's up again) @sir_kitten2

Snap! Extensions script pic (9)

Yeah, I know. Hold on.

Should be good now.

Yep!:
Snap! Extensions script pic (10)

Apparently quit(), exit(), and sys.exit() all make this in replit:
Screenshot (205)
-------------^^^^-^^^^^^^^^^^^-
It's funny to me. Especially because there's nothing after it.