HyperScript 1.7.64
Names in quotes inside a text's values, more for menus, events, scoreboards and quests, and two fixes.
Added
- A name in quotes inside the percent signs of a text.
"Mined: %quest progress "miner"%"and"You have %plural({_n}, "home")%."now work as written. A line that could be read before is still read the way it was. - Several menu slots in one line.
slots 1 to 9 are "black_stained_glass_pane"andslots 11, 13, 15 are "barrier" named "&cLocked"; with a block under it, clicking any of them runs it. worlds:andpermission:on events, at the top of the block: it runs only in those worlds, or only for players who have the permission. Commands getworlds:too, withworlds message:for what is said elsewhere.
on block break:
worlds: "survival", "resource"
add 1 to {%player%.mined}
- A scoreboard that keeps itself up to date. The lines under
update scoreboard of player every 2 seconds:run now and again that often while the player is on the server;stop updating scoreboard of playerends it. - Slips in the names of local variables are pointed out.
{_coinz}that is read where only{_coins}is set gets a remark when the scripts load and in/hyperscript check. - More for quests.
- Goals:
craft 8 bread,fish 5,walk 500 blocks, andreach 1000 {coins}for a variable of the player's. repeat: daily(orweekly, or a length of time) lets a quest be done again, andtime limit: 30 minutesgives it an end.active quests, andon quest progress:with{_quest},{_progress}and{_goal}.- A ready-made script,
Quests.hs, with five quests and a/questsmenu that shows how far the player is:/hyperscript install Quests. - Heads with a skin of their own.
1 player head textured "<value>", for heads that are decoration and nobody's face. Needs Minecraft 1.18.1 or newer. /hyperscript checkwithout a file checks every script.
Fixed
- An
if ...:block directly followed by a one-lineif <condition>: <statement>did not load ("Unexpected character ':'"). The same went for a loop or atry:followed by one. quest progress "<name>" of player,quest state "<name>" of playerandcooldown of command "<name>" for playergave nothing when the player was named asplayer.