Meta.xml
'Tank07' version='1.0' name='Register' description='Registration' type='gamemode' />
Register Script:
addCommandHandler("register",
function(player, cmd, name, password)
local account = addAccount(name, password)
if account then
outputChatBox("Thank you " .. getPlayerName(source) .. ", you're now registed, you can login with /login",player)
end
end)