TimedScript Execution

Demonstration of a minecart rolling over a TimedScript Sign, changing the base block below the rail from red to green

Prerequisites: TimedScripts is installed.

Running a script

  1. Create a script at /plugins/TimedScripts/scripts/<name>.txt.
  2. Make sure it runs correctly using /script run <name> (You may have to use /scripts reload)
  3. Place this sign on your track:
[!train]
timedscript
<name>
[variable]

Variables are defined exactly as in /script run (name=value, read in the script with %name%), except, due to the lacking space, the sign only allows for up to one value to be assigned.

All usable %sender...% values are also taken from the running sign.