I think I may have found a solution to the problem about boot disks!
When someone's presses Ctrl, have the computer reboot; but before rebooting have it delete disk/startup, or even multiple disk startups; and THEN reboot the computer, meaning that if they put a disk in then press control, their disk would no longer have a startup to exit the normal program!
Tell me how well this works for you!
Like this:
repeat
event, key = os.pullEvent("key")
os.sleep(0.1)
until key == (# for LCTRL) or key == (# for RCTRL) or key == (# for ENTER)
If key == (# for LCTRL) or key == (# for RCTRL) then
if fs.exists("disk/startup") then
fs.delete("disk/startup")
os.reboot()
else
os.reboot()
end
elseif key == (# for ENTER) then
-- password script
end
Sorry I don't have the numbers for the IDs of the keys but I am unsure of them and am too lazy to look for them at the moment :3. Hope that I helped