SlayerScript v1.25, Reference Manual
Copyright  1997 Kiwi Software.

SlayerScript files stored as plain text, but typed as SScript (&15E).  The
commands in them are executed line by line.  SlayerScript is NOT case sensitive.

>>  rem
    This keyword allows you to comment your scripts.  According to taste, you
    can also use any of the following;	| ; ' // #

>>  message
    Anything after 'message' will appear in a message box, with an OK button.

>>  if
    This is the most powerfull keyword in SlayerScript.  It has the following
    syntax;   	if {condition} {command}

    The command can be any valid SlayerScript keyword, including another if.
    You can indent ifs as many times as you like, assuming the line to be
    executed is never more than 255 letters.

    The condition can be any of these;

    Mon	      	      Monday
    Tue	      	      Tuesday
    Wed	      	      Wednesday
    Thu	      	      Thursday
    Fri	      	      Friday
    Sat	      	      Saturday
    Sun	      	      Sunday

    Jan	      	      January
    Feb	      	      Febuary
    Mar	      	      March
    Apr	      	      April
    May	      	      May
    Jun	      	      June
    Jul	      	      July
    Aug	      	      August
    Sep	      	      September
    Oct	      	      October
    Nov	      	      November
    Dec	      	      December

    am	      	      Morning
    pm	      	      Afternoon

    virusfound	      A virus was found on the last scan

    ARM2
    ARM250
    ARM3
    ARM610    	      Type of processor fitted
    ARM710
    SA110
    etc...

    A4005C65  	      Any valid hexidecimal number representing an ARM CPU
      	      	      serial number.  You can find this out from the System
      	      	      Infomation submenu on the iconbar menu.

    sysvar([p1])=p2   If the system variable p1 equals p2

    confirm("text")   Will put 'text' in a confirm dialog, and will return
      	      	      true if they click on 'Yes'

>>  scan
    This will scan the directory passed to it.

>>  checkprints
    This will verify files using the finger prints database passed to it.

>>  end
    Stop execution of the script.

>>  chain
    This will execute the script passed to it, and return when the script stops.

>>  cli
    Anything passed to this will be sent to the RiscOS command line interpreter,
    as if you typed it at the '*' prompt.

>>  open
    Opens the filename passed to it for output.  You can only have one file
    open at any time.  If the file already exists, it is deleted first.

>>  append
    Same as above, but appends the original if it exists.

>>  write
    Anything passed to it will be written to the currently log file.

>>  writetime
    Writes the current time and date to the currently open log file.

>>  close
    Closes the open log file.  If you are only gping to be outputing to one file
    you need not call this, as Slayer will close the file automatically when the
    script terminates.

>>  quit
    This will make Slayer quit as soon as possible.

>>  loadopts
    If you modify options by using 'set' this will restore them

>>  saveopts
    This saves any changes you have made to the options with the 'set' command
    to the options file.

>>  set
    This allows you to modify options relating to scanning.  In most cases, you
    pass either 'TRUE' or 'FALSE'.  You can also pass 'YES' or 'NO' for ease of
    reading.  Other options require either a filename, or a number.  You must
    then pass the right data.

    log			Should a log me generated?
    loadlog		Should it be loaded after the scan?
    keeplog		Should it be kept?
    logto		Filename of log to log to.
    archivelog		Should it be archived automatically to SlayRes?
    logerrors		Should errors be logged in the log file?

    faster		Should Slayer not be so co-operative with other apps
    			to make the scan faster?
    confirm		Should Slayer confirm any virus deletions?
    hscan		Should Slayer use it's heuristic boot scanning?

    arcfs		Should Slayer use ArcFS to scan archives?
    dosfs		Should Slayer scan PC partitions?
    xfs			Should Slayer scan X-Files images?

    errorlog		Should Slayer send errors to the errorlog window?
    errors2ok		Should Slayer report errors in message boxes?
    errors2scan		Should Slayer report errors in the scan window?

    beeponerror		Should Slayer beep, to alert you when an error ocures?
    closeok		Should Slayer automatically close message boxes?
    closeafter		How may seconds should slayer wait before closeing it?

>>  echo
    Anything passed to this command will be send to the console window.
    
>>  memory
    Displays Slayer's memory usage in the console.
    
>>  version
    Displays the version numbers and dates of all the modules in Slayer.