unluac is a decompiler for Lua 5.1 http://sourceforge.net/projects/unluac/
I'm tested it on dixbot
Quotejava -jar unluac.jar dixbot.lua
and it is working ;D
The main reason for compilation is 'ZOMG TEH COMPILED SCRIPTZ RUN FASTAH!!!!11!!one!1', which is obviously not true. Thanks for the link anyway. ;-)
How to save it to a file ?
java -jar unluac.jar dixbot.lua > dixbot_decompiled.lua
for example