Why it can't run in mush?

Posted by Perky on Mon 26 Dec 2011 07:02 AM — 2 posts, 13,142 views.

#0
I try it in lua ,can work,but can't run in lua

f=io.open("test.txt","w")
f:write("test")
f:close()

error "Scripting is not active yet, or script file had a parse error."
USA #1
Check File > World Properties > Scripts > "Enable Scripting" and "Scripting Language"