Das stimmt. Ein Problem war es von Anfang an nicht. Es ging mir eher um die Ästhetik.Die fw existiert Bruchteile von Sekunden und ist somit kein wirkliches Problem

Der Umbau:ch werde es aber nicht nochmal umbauen, da es so 100%ig funktioniert und eine relativ große Sicherheit bietet.
Code: Select all
$tmpWare = get ware from maintype 16 and subtype 64
$tmpName = printf: fmt='%s', $tmpWare, null, null, null, null
* Lesen des Warennamen aus dem t-File:
$tmpTName = read text: page=17 id=5803
if $tmpName == $tmpTName
* In diesem Fall entspricht der Warenname dem Warennamen aus dem t-File
$tmpEntry = array alloc: size=3
$tmpEntry[0] = $tmpWare
$tmpNotoReq = get notoriety required to buy ware: $tmpWare
* Rangcheck:
if $MaxNoto >= $tmpNotoReq AND $tmpNotoReq != null
$tmpEntry[1] = [TRUE]
else
$tmpEntry[1] = [FALSE]
end
$tmpEntry[2] = 109
append $tmpEntry to array $tmpArray
end

Na, um mal wieder ein bisschen zurück zum Thema zu kommen:
Schöne Idee und schönes Menü!

MfG,
ScRaT