Well, I don't see why not. You might have to look into that. Currently, I don't think there are any LUA libraries for DBC, but it would certainly be possible. However, you have to understand that LUA is just another language. You should write your own script loader for your own unique set of commands. That's what I'm doing for my game engine. Here, I'll whip up an example:
dim script$(255)
open to read 1,"script.txt"
repeat
inc line
read string 1,line$
script$(line)=line$
until file end(1)
line=0
close file 1
The above example fills an array with each line of a file. From there, you can do something like this:
do
for line=1 to 255
line$=script$(line)
select line$
case "command1"
`Do comething
endcase
case "command2"
`Do something else
endcase
endselect
next line
sync
loop
end
WINNER list:
Latch, Lee Bamber, TDK
Thanks for the help!