Hätte es so gemacht:
Spoiler anzeigen
[autoit]
#include <File.au3>
[/autoit] [autoit][/autoit] [autoit]Global $file = @ScriptDir&"\AP-Messung.txt"
[/autoit] [autoit][/autoit] [autoit]Global $aAP[5][2] = [["192.168.26.10", "Standort1"], _
["192.168.26.11", "Standort2"], _
["192.168.26.12", "Standort3"], _
["192.168.26.13", "Standort4"], _
["192.168.26.14", "Standort5"]]
For $i = 0 To UBound($aAP, 1) -1
If Not Ping($aAP[$i][0], 100) Then _FileWriteLog($file, $aAP[$i][0] &" ("&$aAP[$i][1] &") ist nicht erreichbar!")
Next