HyperScript 1.7.61
Menus that fill, close and refresh themselves, items changed where they are, and variables for everybody at once.
Added
- Menus. In an
open guiblock: fill empty slots with "gray_stained_glass_pane"andborder with "<item>".on close:runs when the window closes.refresh every 1 secondkeeps what the menu shows current while it is open.
open gui with title "&6Bank" for player:
border with "black_stained_glass_pane"
refresh every 1 second
slot 14 is "gold_ingot" named "&eCoins: %{%player%.coins}%"
on close:
send "&7Come again."
- An item changed where it is.
set name of tool of player to "&6Excalibur",set lore of tool of player to "&7Line one", "&7Line two",add "&cSoulbound" to lore of tool of player,remove line 2 of lore of ...anddelete lore of .... It works for every place an item can be in: a hand, an armour slot, an inventory slot. - Variables for everybody.
delete {coins} for all playersandset {coins} to 100 for all playersreach players who are offline too, anddelete all variables of arg.1clears one player. - Lists in pages.
send {_warps} to player in pages of 8 titled "&6Warps"shows a page at a time, with arrows under it to click. - Chat slow mode.
set chat slow mode to 5 secondsandset chat slow mode off. Players with the permissionhyperscript.chat.bypassare not slowed. fail "<text>"stops a trigger like a mistake does, so thattry:andon error:can catch what your own code decides is wrong./hyperscript backupmakes a backup of the saved variables now./hyperscript check <file>also names variables whose names look like a slip, as the console does when the scripts load.- More words in French, Spanish, Portuguese and German:
fail,border,slow mode,as sentence,when they joinand others.
Changed
- A command with both
cost:andcooldown:: somebody who cannot pay no longer has to wait out the cooldown as well.