Bin zwar selber noch neu aber vllt. so(umständlich):
Code:
$xyz=MsgBox ( 48+4, "test", "Ja oder NEIN" )
If $xyz = 6 Then
MsgBox ( 0, "Antwort", "Sie haben JA gewählt" )
ElseIf $xyz=7 Then
MsgBox ( 0, "Antwort", "Sie haben NEIN gewählt" )
EndIf
Bin zwar selber noch neu aber vllt. so(umständlich):
Code:
$xyz=MsgBox ( 48+4, "test", "Ja oder NEIN" )
If $xyz = 6 Then
MsgBox ( 0, "Antwort", "Sie haben JA gewählt" )
ElseIf $xyz=7 Then
MsgBox ( 0, "Antwort", "Sie haben NEIN gewählt" )
EndIf
dein post hast nichts mit dem thread zu tun...
das problem war ein boolean ergebnis in verbindung mit switch|select abfragen. der grund des problems lag darinn, das switch und select vergleiche verlangen, während if direkt mit boolean werten umgehen kann...
für vergleiche wie deinem (vergleich mit rückgabe von funktion), ist natürlich switch deutlich besser geeignet:
Code:
Switch MsgBox(52, 'test', 'ja oder nein')
Case 6
MsgBox(0, 'Antwort', 'JA')
Case 7
MsgBox(0, 'Antwort', 'Nein')
EndSwitch
hierfür wird keine nutzlose variable angelegt, sondern direkt der rückgabewert mit bestimmten werten verglichen...
HP Script Problem 09/24/2011 - Metin2 Private Server - 2 Replies Also hab nochn älteres Hp Script..
Und wollte mal fragen, was ich umstellen muss, damit das Kästchen nicht leer bleibt?
http://h3.abload.de/img/catsueke.jpg
Darunter ist dann noch ein 2. Wo was drin steht, wenn ich aber z.b das 1 Oben löschen will, lässt es sich nicht wirklich löschen, weil die Ränder immer da bleiben ect, oder der Platz bleibt frei blabla..
Was genau muss ich in der Index ändern das da ein Bild drin ist oder sonst was?
Problem VB 10 Patcher Script Problem 09/20/2010 - .NET Languages - 8 Replies Hayho liebe Com.
ich habe mal wieder einen ganz netten Patcher gescriptet, für einen metin2 P Server,
da es nicht mein erster is, hab ich echt kp was da vorliegt, Hier der Script an sich:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEv entArgs) Handles...
[HOW-TO]Hp-Script+Admin-script (weekly-updatet) problem! 06/21/2010 - Metin2 Private Server - 11 Replies hallo leute ich hab ein problem und zwar bei dem hp script von masterboss kommt der fehler :
http://img541.imageshack.us/img541/8140/24955249. png
und wenn ich dann die datei öffne und in die zeile gehe kommt:
while($row = mysql_fetch_array($ergebnis))
kann mir jmd helfen?
Problem Script 02/05/2009 - Cabal Online - 4 Replies Ok i have a problem, i use a the script bot from camp.
My problem is i can run the script on my pc starting it up from cabal without a bypass and run the script/bot this is with GG running as well.
But when i try the same thing on my laptop it doesn't work i need to have a bypass up and because the bypass makes you d/c(i think its the programme am using) i can't seem to run the script/bot.
Anyone got any ideas of how to make it work on my laptop with having to bypass it.
The bot does work...