Also wenn $playerstate 9 zurückliefert, dann funktioniert die If-Abfrage:
[autoit]
$playerstate = 9
If $playerstate = 6 Or $playerstate = 1 Or $playerstate = 9 Then
MsgBox(0, "", "Stop")
Else
MsgBox(0, "", "Play")
EndIf
Offenbar stimmt bereits vorher etwas nicht. Und ohne weitere Infos läßt sich das nicht nachvollziehen.