ddddddddddddddd
You can change the Instructions of this project by clicking on the button! Its working really good! When the server is offline it wont work but i try to keep it online. (Its running on my own computer and I have to go to school) You have to refresh the page to see the change. (If this wont work try it a second time and if this wont work the server is offline.) Update: Its isn't working anymore and I didn't change the Code. I'm very confused! (Every time when I change the Instruction it changes it, but then it wont work anymore) Here is the Code: #start of the code import scratchattach as scratch3 from scratchattach import Encoding import time #logs in session = scratch3.login("Antonabi_BETA", "My Passowrd") conn = session.connect_cloud(project_id="793499577") project = session.connect_project(project_id="793499577") #checking every second if somebody changed the cloudvar while True: Instructions = conn.get_var("Instructions") Instructions = Encoding.decode(Instructions) project.set_instructions(Instructions) print(Instructions) time.sleep(1) #end of the code Thanks to @TimMcCool for Scratchattach and the built-in encoding feature. Tags: ↓ “““““““““““““““““““““““““““““““““““““““““““““““““““““““ #all #instruction 3