جرب
addEvent("onReg",true)
addEventHandler("onReg",root,
function (user,pass)
if ( addAccount ( user , pass ) ) then
outputChatBox("* Username = " ..user.. "",source,0,255,0)
outputChatBox("* Password = " ..pass.. "",source,0,255,0)
else
outputChatBox("* This Account is Already Exist",source,255,0,0)
end
end
)