Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » Guide to Developing TurboWarp Unsandboxed Extensions
- 8to16
-
Scratcher
1000+ posts
Guide to Developing TurboWarp Unsandboxed Extensions
(#20)you need to add [getmessage] to the end of the block's text, else the input won't appear, that should produce
I need help with my code, this thing doesn't show on my block:[] :: controlThis is my code:(function(Scratch) { 'use strict'; if (!Scratch.extensions.unsandboxed) { throw new Error('Messages Reader must run unsandboxed'); } class messagesread { getInfo() { return { id: 'messagesread', name: 'Messages Reader', blocks: [ { opcode: 'getmessage', blockType: Scratch.BlockType.REPORTER, text: 'get messages count from ', arguments: { 'getmessage': { type: Scratch.ArgumentType.STRING, defaultValue: 'griffpatch' } }, } ] }; } // Block Code Here } Scratch.extensions.register(new messagesread()); })(Scratch);
(get messages count from [griffpatch]::extension)
- bloxyandbrew
-
Scratcher
100+ posts
Guide to Developing TurboWarp Unsandboxed Extensions
if that is too confusing, i do recommend TurboBuilder for its simplicity and its large block count.
(for even more blocks, use (removed by moderator - please don't recommend unsafe alternatives to Scratch) turbobuilder)
(for even more blocks, use (removed by moderator - please don't recommend unsafe alternatives to Scratch) turbobuilder)
Last edited by Paddle2See (April 28, 2025 14:58:06)
- Olimon7661
-
Scratcher
1000+ posts
Guide to Developing TurboWarp Unsandboxed Extensions
EVERYONE! The user has been permanently banned, and would like someone to take over the topic. If you'd like to, tell me on my chatroom, I'll tell 8to16.
- Discussion Forums
- » Developing Scratch Extensions
-
» Guide to Developing TurboWarp Unsandboxed Extensions



