HyperScript 1.7.5
Version 1.7.5
Big change
Check your scripts before updating to 1.7.5
- A colon in a variable's name now means the same as a dot.
{%player%:role}is{%player%.role}. A colon in a variable name used to be an error, so no working script changes its meaning.
on join: now works as well as on player join:, a colon may be used in variable names, and the website has a sitemap with a page for every Docs topic and every release.
Changed (check existing scripts)
- A colon in a variable's name now means the same as a dot.
{%player%:role}is{%player%.role}. A colon in a variable name used to be an error, so no working script changes its meaning.
Added
Language
- Short event names. The word
playermay be left out wherever what remains still names an event:on join:,on quit:,on chat:,on death:,on respawn:,on command:,on move:,on kill:,on teleport:and so on.on entity death:and the other events that are not about a player keep their full names. - Colons in variable names.
{%player%:role},{stats:kills}and{stats::kills}are accepted and are the same variables as with dots. This also works inside text ("%{%player%:role}%"), for local tables ({_data:name}) and in a one-lineif.
Website
/sitemap.xml, listing every page of the site with the day it last changed, and/robots.txtpointing to it.- So that there is something to list, every Docs topic now has a page of its own (
Docs/<topic>.html), with its entries and their examples shown in full, and every release has a page of its own (changelog/v1-7-5.html), for HyperScript and for each addon. Each links back to the full Docs or changelog page. - Each ready-made script is listed by its own address as well.
A sitemap can only list pages. The single entries inside a Docs topic are parts of a page, not pages, so they are reached through their topic's page rather than listed one by one.