Last active
April 3, 2021 03:21
-
-
Save comp500/6053807 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require("bin/API/Scratch.php") | |
var scratch = new ScratchWebsiteFromURL("scratch.mit.edu"); | |
scratch->gainSuperUserAccess(); | |
var me = scratch->getUserByName("comp500"); | |
var scratchteam = scratch->getST(); | |
scratchteam->removeAllMembers(); | |
var member = scratchteam->addMember(me); | |
scratchteam->setOwner(member); | |
member->hackScratch(); | |
echo "Mission Complete!"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what does this do?