Plot:Define script
From OHRRPGCE-Wiki
define script (id,name,arguments)
Only old-style scripts need to be defined. See How do I convert my scripts from old to new syntax? for more information about the new syntax
The define script command names a script, and associates it with an ID number. Every script must have a unique ID number for your game to call it directly (scripts that will only be called indirectly, by other scripts can use the special ID autonumber). The first argument is the ID number. It is a number between 1 and 16383. If you try to give two individual scripts the same ID number, your script file will not compile. The next argument is the name of the script. this is the same name that will used later in your script command. The third argument is the number of arguments that the script can accept. If it doesnt need any arguments (most scripts dont) then use none. If there are arguments, you then follow the argument count with default values for each argument.
[edit] Examples
# example of a simple script definition define script (1,my first script,none)
# example of a script definition with arguments. this script # has three arguments, all of which default to zero if they # are not specified define script (2,my fancy script,3,0,0,0)
