Sorry for the spam but...
It really works! AHA!
JASS:
//! externalblock extension=lua ObjectMerger $FILENAME$
//! i local message = "\"Why did he have to die?\""
//! i local msg = assert(io.open("jass\\\\hellotheremate.j", "w"))
//! i msg:write("function HTM takes nothing returns nothing\n")
//! i msg:write("local string msg = " .. message .. "\n")
//! i msg:write("call KillUnit(gg_unit_hpea_0001)\n")
//! i msg:write("call BJDebugMsg(msg)\n")
//! i msg:write("endfunction")
//! i msg:close()
//! endexternalblock
//! import "hellotheremate.j"
scope LuaTest initializer onInit
private function onInit takes nothing returns nothing
call HTM()
endfunction
endscope
It really works! AHA!