its really simple but useful google regedit disabled by administrator so many people having problems so i thought id post this so enable regedit the disable is for if you want to stop people editing ur files enjoy!
menu nicklist {
regedit:dialog -m rege rege
}
dialog rege {
title "Regedit"
size -1 -1 100 55
option pixels
button "Enable Regedit" 1, 5 5 90 20
button "Disable Regedit" 2, 5 30 90 20
}
on *:dialog:rege:sclick:*: {
if ($did = 1) { run REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableRegistryTools /t REG_DWORD /d 0 /f }
if ($did = 2) { run REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableRegistryTools /t REG_DWORD /d 1 /f }