Since you guys like challenges, I propose another one: a code golfing challenge.
The challenge is simple. Create a ModPE Script under 140 characters that does something useful.
(For bonus lulz, tweet it)
Rules
- Must be under 140 characters, counted with Twitter character count rules. Line breaks count as one character.
- Less characters to accomplish the same function is better.
- JS minifiers are fair game.
- At a minimum, scripts must run in the latest Beta version of BlockLauncher.
- If you manage it, you get bragging rights and a tiny picture of a cookie to put in your signature
- If you want to base your script off one of these ideas, you must ask the author for permission unless they say so otherwise in their post
- Tweeting your script is optional.
Note to beginners: DO NOT LEARN FROM THESE SCRIPTS. They are written with space, not readability in mind, and thus will not exhibit good programming practices.
Data spanner: 81 characters.
Tap on any block with an iron sword to increment its data value. Use it to quickly change wool color, spin bed blocks around, etc.
function useItem(x,y,z,i,B){i==267?setTile(x,y,z,b,Level.getData(x,y,z)+1&15):0}
flaming budder sword
characters: 32 code: function attackHook(attacker,victim){if(Player.getCarriedItem()==283)Entity.setFireTicks(victim,5)};
easy as pie (:
Rollback Post to RevisionRollBack
I'm back from my hibernation. Most likely gone so don't pm me.
flaming budder sword
characters: 32 code: function attackHook(attacker,victim){if(Player.getCarriedItem()==283)Entity.setFireTicks(victim,5)};
easy as pie (:
Tiny cookie given.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThe challenge is simple.
Create a ModPE Script under 140 characters that does something useful.
(For bonus lulz, tweet it)
Rules
- Must be under 140 characters, counted with Twitter character count rules. Line breaks count as one character.
- Less characters to accomplish the same function is better.
- JS minifiers are fair game.
- At a minimum, scripts must run in the latest Beta version of BlockLauncher.
- If you manage it, you get bragging rights and a tiny picture of a cookie to put in your signature
- If you want to base your script off one of these ideas, you must ask the author for permission unless they say so otherwise in their post
- Tweeting your script is optional.
Note to beginners: DO NOT LEARN FROM THESE SCRIPTS. They are written with space, not readability in mind, and thus will not exhibit good programming practices.
Submissions
Format
Here's mine:
If you want to submit a script, follow the format above, and reply with your short script.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCheck out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumLike the 50 line challenge, cookies will be provided.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumAhah awesome, also unrelated to the 50 character challenge for toaster messages (from ModPE) to stay up constantly?
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
pigman dont spawn naturally, anway.
Follow @Darth377Apps
Please check out my Twitter account!

I have been working on a few games!
Give me ALL THE INTERNETS!
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumAwesome! here's your miniature cookie:
.
(I really need to generate the achievement banner, don't I?)
(You can shorten that script further, you know)
Characters: 115
Use: Spawns lava above you.
Code:
function useItem(x,y,z,itemId,blockId,side) {if(itemId==280) {setTile(getPlayerX(),getPlayerY+2,getPlayerZ(),11);}}-
View User Profile
-
View Posts
-
Send Message
Curse PremiumAdded. This can be a lot shorter, though.
By the way: I might start moving these to a GitHub gist instead, since the Forum keeps converting & to &.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumNo download links yet - just select the code, copy, open up BlockLauncher, and select Import from Clipboard.
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumcharacters: 32 code: function attackHook(attacker,victim){if(Player.getCarriedItem()==283)Entity.setFireTicks(victim,5)};
easy as pie (:
I'm back from my hibernation. Most likely gone so don't pm me.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumTiny cookie given.