Не очень, но на твоём примере работает
#DEFINE #A_LOW: 97
#DEFINE #A_UP: 65
#DEFINE #Z_LOW: 122
#DEFINE #Z_UP: 90
#DEFINE #PLUS: 43
#DEFINE #PERCENT: 37
#DEFINE SEP: "--------"
#DEFINE SEP_LEN: 8
//Тут твои клики
$str = STRCONCAT(FROMCLIP(), "$")
$start = STRPOS($str, SEP, STRPOS($str, SEP, STRPOS($str, SEP, STRPOS($str, SEP, STRPOS($str, SEP) + SEP_LEN) + SEP_LEN) + SEP_LEN) + SEP_LEN) + SEP_LEN
$end = STRPOS($str, "$", $start)
PRINT($str, CHAR(13), CHAR(10))
$toColdResistance = 0
$toLightningResistance = 0
$increasedRarityofItemsfound = 0
$increasedArmour = 0
FOR($i = $start, $i < $end)
$code = CODE(STRCUT($str, $i, 1))
$number = 0
$string = ""
$size = 0
FOR($i = $i, (($code >= #0) and ($code <= #9)) or ($code = #PLUS) or ($code = #PERCENT) )
IF($code > #PLUS)
$number = $number * 10 + CHAR($code)
END_IF
$code = CODE(STRCUT($str, $i + 1, 1))
END_CYC
FOR($i = $i, ((($size >= 0) and ($size <= 31)) and (($code >= #A_LOW) and ($code <= #Z_LOW)) or (($code >= #A_UP) and ($code <= #Z_UP)) or ($code = #SPACE)) )
$string = STRFILTER(STRCONCAT($string, CHAR($code)), " ", 0)
IF(($string = "toColdResistance") or ($string = "toLightningResistance") or ($string = "increasedRarityofItemsfound") or ($string = "increasedArmour"))
SETVAR(STRCONCAT("$", $string), $number)
END_IF
$code = CODE(STRCUT($str, $i + 1, 1))
$size = $size + 1
END_CYC
END_CYC
// Дальше твои услови
PRINT("$toColdResistance = ", $toColdResistance)
PRINT("$toLightningResistance = ",$toLightningResistance)
PRINT("$increasedRarityofItemsfound = ", $increasedRarityofItemsfound)
PRINT("$increasedArmour = ", $increasedArmour)
HALT
11:21:15 Path of Exule поддерживает копипаст вещей в текст свойств вещей в буфер обмена получает что то в таком виде:
Rarity: Rare
Ghoul Goad
Titan Greaves
--------
Armour: 465 (augmented)
--------
Requirements:
Level: 68
Str: 120
--------
Sockets: R-B
--------
Item Level: 85
--------
93% increased Armour
8% increased Rarity of Items found
+32% to Fire Resistance
+48% to Cold Resistance
+45% to Lightning Resistance
17% increased Stun and Block Recovery$
11:21:15 $toColdResistance = 48
11:21:15 $toLightningResistance = 45
11:21:15 $increasedRarityofItemsfound = 8
11:21:15 $increasedArmour = 93