HyperScript 1.7.39.1
A round of work on the website: the docs, the search and the forum. The plugin itself is unchanged.
Added
- How do I...? A new page under Learn with short scripts for things nearly every server wants: a kit once a day, homes, warps, coins for kills, a protected spawn, tips in chat, a welcome for new players, and hills made of noise. Each one works as it stands.
- Common mistakes. A new page under Learn that goes through what HyperScript says when a script does not load, what each message means and how to put it right. The headings are the messages themselves, so the one you got can be typed into the search.
- Try it. Every example in the docs, and every script on the two new pages, has a Try it button next to Copy that opens it in the Playground, ready to be changed and run.
- Since which version. Syntax that came after the first release has a small tag saying since which version it has been there, so that it is clear why an older server does not know it.
- Addon events show what they give. An event that comes from an addon now opens to a table of what it hands a script, like the events of HyperScript itself do.
Changed
- The search finds the thing itself. What you type is matched against the syntax without its brackets, quotes and percent signs:
x of locationfindsx of <location>,kill asfindskill <who> as <who>, andplayer.namefinds%player.name%. An entry that begins with exactly what was typed comes first. - The forum:
- You can change what you wrote: an Edit button on your own threads and replies. A changed post says that it was changed.
- A script between two lines of ```
```` is shown as code, coloured like the docs. - Whoever started a thread can mark it as solved, and the list shows which ones are.
- The Copy button of an example also works on the pages of a single subject, where it did nothing.