Your Code is amazing ty ty ty for sharing it.
I'm stuck and i don't know why... any help would be apreciated
i modified the loot section to:
Code:
if $OBject[$i][6] = 2 and $OBject[$i][7] = -1 and $OBject[$i][1] <> 0xFFFFFFFF or StringInStr($OBject[$i][2],"Tome" ) Then ;checking for loot and goldcoins
if IterateActorAtribs($OBject[$i][1],$Atrib_Item_Quality_Level) >= 4 or StringInStr($OBject[$i][2],"Tome" ) Then ;lets check if they are rare or better, and ignore if its goldcoins.
PowerUseGUID($OBject[$i][1],0x7545)
$foundobject = 1
I've tried Tome, tome, ome, Tome of Secrets, TomeofSecrets, Secrets, secrets. and it Still won't loot the damn tomes. :-( any pointers?
modified and got working with gems and potions by using "Emerald" "Ruby" "Mythic" etc
I know it's probably something stupid I'm doing but i can't see it so any help would be VERY appreciated.