// start with examplescript = function
examplescript = function(ScratchUserscript){
	console.log("Example started!");
	// name, description, settings (to be implemented)
	ScratchUserscript.registerPart("Example", "Example", []);
}
@@ -1,51 +1,321 @@
 // 
-start with examplescript = function%0A
+==UserScript==%0A// @name%09%09Mega Scratch Userscript (part: example)%0A// @author%09%09MegaScratchUserscript %0A// @description%09Example part%0A// @include%09%09http://scratch.mit.edu/*%0A// @version%09%090.1%0A// @grant%09%09unsafeWindow%0A// @icon%09%09http://blue.gwiddle.org/img/MegaScratchUserscript65.png%0A// ==/UserScript==%0AunsafeWindow.
 example
-s
+S
 crip
@@ -496,5 +496,6 @@
 %5D);%0A
-
 %7D
+%0A

Update to use unsafeWindow (part 2 of 2)