HyperScript 1.7.70
An anvil question that starts empty, scripts that switch other scripts on and off, and a time and weather of a player's own.
Added
- Scripts can see and switch the other scripts.
enabled scriptsanddisabled scriptsare lists of file names,error of script <name>is what a script failed to load with (unset for one that loaded), andenable script <name>/disable script <name>do what/hyperscript enableanddisabledo.
for each {_file} in enabled scripts:
set {_error} to error of script {_file}
if {_error} is set:
send "&c%{_file}%: %{_error}%"
if script "Kits" is enabled:
disable script "Kits"
The scripts are read again a moment after one is switched.
- A time and weather of a player's own.
set time of player to 18000andset weather of player to rainchange what that one player sees and nobody else;reset time of playerandreset weather of playergive them the world's own again. tool durability of <who>: how many uses the thing in their hand has left, andset tool durability of player to 50sets it.make <who> swing arm: the movement of a hit, without hitting anything.<who> is fallingand<who> is gliding, for coming down through the air and for flying with an elytra.
Changed
ask ... with anvilstarts with an empty box. The question now stands on top of the window as its title, so there is nothing to delete before typing. On a server where the title cannot be set, the question is in the box as before, and it is taken off the front of the answer if the player leaves it there.- Website: the tag boxes on "share a script" stand right beside their words, so it is plain which box belongs to which tag.