Scarab details

  • Description

    This file is a text version of 'script.hlp' Basic layout for a ScarabScript: ## Scarab Demo Script ## Dont try to use this, it wont do anything. cat=CATAGORY NAME " func=FUNCTION NAMEscript commands;" " func=FUNCTION NAME2script commands;" catend=CATAGORY NAME As you can see the script format is very simple, at the start of the script you must define the catagory name. This is done on the line cat=CATAGORY NAME (theis used for decoding purpuses). Then come the sub-functions, the basic commands that the user will interact with. They are formated just as simply, " func=FUNCTION NAMEscript commands;", as you can see the entire function is enclosed in "quotes", this is nessesary for the decoder. Note the space after the first quote mark, dont forget this it is important. The second thing that you see is func=, this is self explanitory. Notice that the FUNCTION NAME comes right after the = sign, no space. After the function name there is a , this slash separates the ScarabScript Code from the function name. Notice how in the comments there are TWO number signs on the very left margin. Any lines with two number signs as the first chars will be ignored by the decoder. The comment lenghts from the second number sign to the end of the line. script commands: disp'Y'; Y=TEXT TO DISPLAY (VARIABLES ALLOWED) send'Y'; Y=TEXT TO SEND (VARIABLES ALLOWED) note: The send command replaces