Any thoughts on how check if a registry value is set...if so, I need to append to it with a string. Here is what I have so far.

Code:
 
$bbhome=ReadValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\16FD58773EE02F44F9082F014DAF6CC9", "6BB86DA5D449506409F1448FC6560289")
If @error <> 0
? "Error Encountered: " + @serror
MessageBox("Can't find Big Brother install path!", $bbhome, 16)
Exit 0
Else
$bbexternals = ReadValue ("HKEY_LOCAL_MACHINE\SOFTWARE\Quest Software\BigBrother\bbnt\Externals","")
If @error = 0
$bbfolder=$bbhome + "ext"
$bbhomeext=";" + $bbfolder + " /INT=300"
If Not Exist($bbfolder)
MD $bbfolder
$ = updateregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Quest Software\BigBrother\bbnt\Externals","",$bbhomeext,"REG_SZ")
Else
?????
EndIf

_________________________
I could have made a neat retort but didn't, for I was flurried and didn't think of it till I was downstairs.
-Mark Twain