HyperScript 1.7.35
What Tab offers for a command, argument by argument.
Added
tab complete:can be a block. Its lines run each time Tab is pressed, andset arg.1 to "set", "remove"in it says what is offered for the first argument,set arg.2 to ...for the second, and so on. They are ordinary lines, so what is offered for one argument can depend on what was typed before it:
command /rank [action] [target] [rank]:
tab complete:
set arg.1 to "set", "remove", "list"
if arg.1 is "set" or arg.1 is "remove":
set arg.2 to server.players
if arg.1 is "set":
set arg.3 to "owner", "admin", "moderator", "vip"
trigger:
send "&7You typed: %args%"
- An argument the block says nothing about is offered what the command's header says, as before.
tab complete: <list>on one line works as it did.
Changed
- Ranks.hs and ChatPrefixes.hs use this:
/rankoffers its actions, then the players who are online, then the ranks;/prefixofferssetandclear, then the players. Both now need HyperScript 1.7.35. - SetupServer.hs is for server operators only. It no longer goes by the permission
hyperscript.admin.
- The website asks before a user-made script is taken. Download, Copy and Copy id on a user-made script first say who made it, that an admin has looked through it and accepted it, and that this check is not a guarantee, and ask whether to go on. Cancel, Escape or a click beside the box leaves everything as it was.