Rivoreo Source Code Repositories
src.rivoreo.one
/
minecraft
/
opencomputers
/
bccee0c5a0ac03198ecffbc6181a3e92e316fd6a
/
.
/
assets
/
opencomputers
/
lua
/
rom
/
bin
/
useradd.lua
blob: bf9adb0506829da28b4e1b9804b3294e4d788090 [
file
] [
log
] [
blame
] [
raw
]
local
args
=
shell
.
parse
(...)
if
#
args
<
1
then
print
(
"Usage: useradd <name>"
)
return
end
local
result
,
reason
=
os
.
addUser
(
args
[
1
])
if
not
result
then
print
(
reason
)
end