msg ("hello")
this easy command will show a message "hello" at the screen
Scripts
Lua Scripts/Questions/Help
and whats the problem ? addhook ("usebutton", "onusebutton")
function onusebutton(id,x,y)
	msg("ICH MAG DONER");
	.
	.
	.
end
a = {x = 3}
function a:lol()
	print(self.x)
end
a:lol()
--WRONG--
a = {x=3}
function a.lol()
	print(self.x)
end
a.lol()
mt = {}
mt.__index = mt
function mt:lol()
	print(self.x)
end
a = setmetatable({x=99},mt)
a:lol()