Click on the screen to submit your own command for the server to process!
Uses only the Snap! blocks and the custom blocks included in the project.
Have fun!
Font used: Fustat (Latin) by Laura Garcia Mut
Click on the screen to submit your own command for the server to process!
Uses only the Snap! blocks and the custom blocks included in the project.
Have fun!
Font used: Fustat (Latin) by Laura Garcia Mut
Cool project, but I think you didn't think about how this can be used as a free chat project (I know that was not the intention, but it can be used for that).
I'll try to turn off the commands involving text.
Updated: disabled:
I was able to send it (run (join : (split (reportTextFunction "[decode URI]" "(tell%20%22Sprite(2)%22%20(cmd%20(wear%20(%22full%20image%20_%20(2)%22%20\"rehehehehe\"))))") [blocks])))
without getting the warning. Just a heads-up...
I think the best think to do would be to customize the (split [] by [[blocks] v])
block to check for the blacklisted blocks, so that if someone sends something like what @rixthetyrunt did, it would still reject it. Of course you would also probably want to blacklist any of the block editing blocks, the extension blocks, and the primitive block, just to be sure no one can remove your blacklist check.
Edit: you can do something like this
I don't think you can change a Snap primitive in Snap.
Yes you can, as of snap 10.
Woah! But does it still qualify as a half-builtin primitive, right?
Yeah, so no one can get around it, as long as you blacklist the blocks that can get around it.
Doing a quick (forever (fork (cmd (forever ((ifElse (touch [edge]) (bounce) (right (rand 15 30))) (move 10))))))
gives the Sprite 5L of caffeine.
Nice try, but I counter your spell with (stop "[other scripts in sprite]")
!
HOLY FISHSTICKS YOU PULLED THE STOP [OTHER SCRIPTS IN SPRITE V] :: command
MOVE
P.S.: it just resets the level of caffeine and lag lmao
I fixed this by disabling reportTextFunction
, since you could do this
That's what I did for the custom-message-in-the-corner thingo
Super cool! Could someone use something like this to build something like Google Docs, but for Snap!?
Yes, but text can eventually go into chat, and Jens isn't too fond of chat projects.
there is no block-based coding platform where chat apps are legal
I suggest that you should use a modified primitive like this.
That way, no script can encode some script, to run any of the blacklisted blocks (plus, it's a much much better blacklist check then just checking if the text contains a single word (such as "say"), because the "say" could be in a join block).
Could I suggest using words like prohibited?
(((#2 = $flash-0.5-243-118-29$flash-0.5-243-118-29$flash-0.25-243-118-29 :: variables)) :: operators)
yes!