Иск,
Цитата:
Может параметры не правильно заданы и нельзя так их вводить, тоесть через запятую?
|
Нет конечно, тут нужно использовать
And (логическое “И”) /
Or (логическое “Или”), в справке всё это есть

...
Код:

$res1 = 207
$res2 = 208
$res3 = 355
$res4 = 355
If ($res1 = $res4) Or _
($res1 <> $res2 And $res2 = $res4) Or _
($res1 <> $res2 And $res2 <> $res3 And $res3 = $res4) Or _
($res1 = $res2 And $res2 <> $res3 And $res3 = $res4) Then
;Send("1")
ConsoleWrite(1)
ElseIf ($res1 = $res3 And $res3 <> $res4) Or _
($res1 <> $res2 And $res2 <> $res3 And $res3 <> $res4) Or _
($res1 <> $res2 And $res2 = $res3 And $res3 <> $res4) Then
;Send("5")
ConsoleWrite(5)
EndIf