poste des doch mal bitte übersichtlich... und nicht alles in 2 zeilen geklatscht
[autoit]
dim $nutzer[1],$passwords[1]
$input = Controlgettext("Shinoby´s gamesupporter", "", "[CLASS:WindowsForms10.RichEdit20W.app.0.378734a; INSTANCE:1]")
sort()
[/autoit][autoit][/autoit][autoit]ControlClick("Shinoby´s gamesupporter", "", "[CLASS:Edit; INSTANCE:1]")
[/autoit][autoit][/autoit][autoit]for $i = 1 to $nutzer[0]
send($nutzer[$i]&" "&$Passwords[$i]&@crlf)
Next
func sort()
$string = StringReplace($input,@crlf," ")
$array = StringSplit($string," ")
msgbox(0,"a","insgesammt: "&$array[0]/2&" Nutzer") ; als check
global $nutzer[$array[0]/2+1] ; legt größe der array fest
global $passwords[$array[0]/2+1] ; legt größe der array fest
$nutzer[0] = $array[0]/2 ; setzt das element 0 auf die anzahl der einträge
$passwords[0] = $array[0]/2 ; setzt das element 0 auf die anzahl der einträge
$b = 0
for $i = 1 to $array[0] step +2
$b = $b + 1
$nutzer[$b] = $array[$i]
Next
$b = 0
for $i = 2 to $array[0] step +2
$b = $b + 1
$passwords[$b] = $array[$i]
Next
EndFunc