it works only of time in when .
can anyone help me??
1
2
3
4
5
6
2
3
4
5
6
if cmd== "@remove_admin" then 	if usgn > 0 then 		os.remove("sys/lua/user/"..usgn..".txt") 	end return 1 end
if cmd== "@remove_admin" then 	if usgn > 0 then 		os.remove("sys/lua/user/"..usgn..".txt") 	end return 1 end
assert(os.remove("sys/lua/user/"..usgn..".txt"))
assert(os.remove("sys/lua/user/"..usgn..".txt"))
LUA ERROR: sys/lua/TCM/script.lua:560: sys/lua/TCM/Users/Admin/3323.txt: Permission denied
collectgarbage("collect")
if cmd== "@remove_admin" then 	if usgn > 0 then 		collectgarbage("collect") 		assert(os.remove("sys/lua/user/"..usgn..".txt")) 	end 	return 1 end