Code:
$GUI = GUICreate('UltimateWoW - Terms Agreement', 350, 280)
GUICtrlCreateLabel('By agreeing to these terms, you are agreeing to the following:' & @CRLF & @CRLF & @CRLF & '- You will not try to decompile, reverse engineer, try to crack, or do' & @CRLF & 'anything to harm this program or any part of UltimateWoW...' & @CRLF & @CRLF & '- Any attempt to do any of the following will result in a ban of your' & @CRLF & 'UltimateWoW account && IP.' & @CRLF & @CRLF & '- You may not supply download links to this program.' & @CRLF & @CRLF & '- You may not redistribute this program as your own nor make profit of' & @CRLF & 'this program directly.' & @CRLF & @CRLF & '- Attempted cracks will most likely harm your computer.', 7, 7)
$ContinueCheck = GUICtrlCreateCheckBox(' I agree to these terms.', 120, 225, -1, 16)
$ContinueButton = GUICtrlCreateButton('Continue...', 7, 250, 336, 23, $WS_DISABLED)
*****tState()
$Enabled = 0
While 1
If GUICtrlRead($ContinueCheck) = 1 Then
If $Enabled = 0 Then
GUICtrlSetState($ContinueButton, $GUI_ENABLE)
$Enabled = 1
EndIf
ElseIf GUICtrlRead($ContinueCheck) = 4 Then
If $Enabled = 1 Then
GUICtrlSetState($ContinueButton, $GUI_DISABLE)
$Enabled = 0
EndIf
EndIf
$Function = GUIGetMsg()
If $Function = $ContinueButton Then
GUIDelete()
RegWrite('HKEY_LOCAL_MACHINE\SOFTWARE\UltimateWoW', 'TermsAgreed', 'REG_SZ', 'True')
ExitLoop
EndIf
WEnd
Code:
$GUI = GUICreate("United Unicorn - Terms Agreement", 350, 280)
GUICtrlCreateLabel("If agreeing to these terms, you are agreeing to:" & @CRLF & @CRLF & @CRLF & "- Do not try to decompile, reverse engineering, try to crack, or do" & @CRLF & "anything to harm this program or any part of United Unicorn without option.ini & dick.bmp." & @CRLF & @CRLF & "- Do not supply other download links to this program." & @CRLF & @CRLF & "- Do not redistribute this program as your own for make profit or not of" & @CRLF & "this program directly or indirectly.", 7, 7)
$CONTINUECHECK = GUICtrlCreateCheckbox(" I agree to these terms.", 120, 225, -1, 16)
$CONTINUEBUTTON = GUICtrlCreateButton("Continue...", 7, 250, 336, 23, $WS_DISABLED)
*****tState()
$ENABLED = 0
While 1
If GUICtrlRead($CONTINUECHECK) = 1 Then
If $ENABLED = 0 Then
GUICtrlSetState($CONTINUEBUTTON, $GUI_ENABLE)
$ENABLED = 1
EndIf
ElseIf GUICtrlRead($CONTINUECHECK) = 4 Then
If $ENABLED = 1 Then
GUICtrlSetState($CONTINUEBUTTON, $GUI_DISABLE)
$ENABLED = 0
EndIf
EndIf
$FUNCTION = GUIGetMsg()
If $FUNCTION = $CONTINUEBUTTON Then
GUIDelete()
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\UnitedUnicornHack", "TermsAgreed", "REG_SZ", "True")
ExitLoop
EndIf
WEnd