Okay When i made this script it won't compile
Scriptname teq01startup extends ObjectReference
Quest Property teq01opentostart Auto
Event OnActivate(Book treeentbook auto)
teq01.setstage (10)
endEvent
When I save it, it says
Starting 1 compile threads for 1 files...
Compiling "teq01startup"...
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\teq01startup.psc(4,34): extraneous input 'auto' expecting RPAREN
No output generated for teq01startup, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on teq01startup
any ideas as to how I can stop this or actually compile the script?