Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #This is all in 1.13 format
- #These are the most simple command types which need to be covered
- #Comment:
- #This is a comment - this entire line should have no highlighting
- say #This is not a comment, none of this line should have highlighting apart from the say.
- #If a line has a slash at the start, it should have an error
- /gamemode creative
- #Selectors. Everything beyond the testfor should be highlighted as described
- #Name/tag argument accepts any argument without spaces
- testfor @a[name=hello]
- #Name/tag argument doesn't accept argument with a space
- testfor @a[tag=with a space]
- #Name/tag argument accepts arguments with a space if they are quoted.
- testfor @a[name="with a space"]
- #The following only matter if using a full parser.
- #
- #Only one name argument should be available in a selector (Best practise - only useful if fully parsing code anyway)
- testfor @a[name=hello,name=hi2]
- #Multiple tag arguments should be accepted in a selector
Add Comment
Please, Sign In to add comment