30792ec961
Fixes to error reporting from Lua, now the error messages are more concise, and instead of exploding with an error message box, the script is just marked as "not loaded" and the actual error as its description. Originally committed to SVN as r936.
19 lines
605 B
Lua
19 lines
605 B
Lua
-- Automation 4 test file
|
|
-- Create a Filter feature that does some kara stuff
|
|
|
|
script_name = "Automation 4 test 10"
|
|
script_description = "Test reaction to export filter name clashes"
|
|
script_author = "Niels Martin Hansen"
|
|
script_version = "1"
|
|
|
|
include("utils.lua")
|
|
|
|
function function1(subtitles, config)
|
|
aegisub.debug.out("function 1")
|
|
end
|
|
function function2(subtitles, config)
|
|
aegisub.debug.out("function 2")
|
|
end
|
|
|
|
aegisub.register_filter("Export breaker", "Export filter with nameclash (1)", 500, function1)
|
|
aegisub.register_filter("Export breaker", "Export filter with nameclash (2)", 500, function2)
|