lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>Just started messing with LUA (version 4.0) as a way to script loading areas
>into a mud I'm programming. I was wondering if there was a way to terminate
>a process initiated by lua_dofile. For example, if the area fails to load
>properly I may want to end its execution early. I have been unable to figure
>out how to do this.

Redefine _ALERT or _ERRORMESSAGE and call error().
--lhf