HyperScript 1.7.55
Dialogue, the game's statistics, a selection wand, structures, a word filter, angles and places, random codes, other time zones, and brewing.
Added
- Dialogue. A
dialogue "<name>":block holds a conversation, withchoice "<answer>":blocks the player answers by, clicked or typed.start dialogue "<name>"begins it.
dialogue "blacksmith":
send "&6Blacksmith: &fWhat do you need?"
choice "A sword":
give 1 iron sword to player
choice "Nothing":
send "&6Blacksmith: &7Come back any time."
choice works anywhere a script runs for a player, not only in a dialogue.
- The game's statistics.
statistic "deaths" of player, and for the ones kept for each block, item or creature,statistic "mine_block" of player for "stone". For players who are offline too. - A selection wand.
give selection wand to player: left-click and right-click mark two corners.selection start of player,selection end of playerandselection size of playergive them to a script, for making regions and arenas by pointing. - Structures.
save structure "house" from <a> to <b>,place structure "house" at <place>(withrotated 90),structure "house" exists,delete structure "house". They are the game's own structure files. Needs Minecraft 1.17.1 or newer. - A word filter.
block word "<word>"andunblock word: chat with a blocked word in it is sent with stars, or not sent, asword-filterinconfig.ymlsays. Words are found however they are dressed up (b4dw0rd,b.a.d.w.o.r.d), and only where they stand by themselves, so blockingassleavesclassalone.on blocked word:runs with%event.word%. - The lists of commands and permissions.
all commands,commands of player(the ones they may use) andall permissions of player. - Angles.
sin,cos,tan,asin,acos,atanandatan2, in degrees as the game's own angles are. - Places.
yaw from <a> to <b>andpitch from <a> to <b>say which way to look, and<a> moved 3 blocks towards <b>gives the place that far along the way. - Random text.
random text of 8 characters,random code of 6 digitsandnew id, for vouchers, codes and keys. - Other time zones.
now formatted as "HH:mm" in time zone "Europe/Berlin". - Brewing.
on brew:runs when a brewing stand finishes. Abrewing recipe for <item>:withfrom:andwith:adds a recipe of your own to the stand; that part needs a Paper server, version 1.18 or newer.
Changed
- The home page counts HyperScript itself, kind by kind, so that the numbers add up to the total, and says under them how many addons there are and how much each adds on top.
- A script cannot have a function of its own called
sin,cos,tan,asin,acos,atanoratan2any more, as those come with HyperScript now.