Run serhelp start and open the script directory it prints.
Create hello.ser:
Print "Hello from SER!"
Then use the server console or Remote Admin:
serrun hello
You should see Hello from SER! followed by confirmation that the script was
requested to run.
If hello was not registered, serrun searches the entire script directory
for a new hello.ser or hello.txt, registers that file, and retries
automatically. You do not need to run serreload before the first execution of
a newly added utility script.
Remote Admin senders require the ser.run permission.
Print "Starting the greeting"
wait 1s
Print "Hello after one second"
Instructions normally execute from top to bottom. wait pauses only this
script's execution.
Use:
serstatus
It distinguishes:
- an accepted script;
- a file that failed to compile or register;
- a disabled filename beginning with
#; - multiple files competing for the same script name.
Next: files, names, and reloads.