rendered paste body#include <GuiConstants.au3>FileInstall("dbz.jpg","C:\")SplashImageOn("Dragon Ball Quiz","C:\dbz.jpg",400,400)Sleep("2000")FileDelete("C:\dbz.jpg")SplashOff()GUICreate("Dragon Ball Quiz v0.1", 230, 175)$Button_ok = GUICtrlCreateButton("CONTROLLA", 40, 80, 160, 30)$Label_local = GUICtrlCreateLabel("Il nome reale del Genio delle tartaruge?", 40, 20)$Input_dled = GUICtrlCreateInput("", 40, 40, 160, 20)$vari = 0GUISetState()While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_ok $var = GUICtrlRead($Input_dled) If $var = "Muten" and $vari = 0 Then MsgBox(1, "Risposta corretta!","Risposta esatta!") If $var = "Turles" and $vari = 1 Then MsgBox(1, "Risposta corretta!","Risposta esatta!") else MsgBox(1, "Risposta sbagliata","Risposta sbagliata!") EndIf EndIf EndSelect Wend