Hi,
I want to make a script that looks at all powerscrolls in a bag, I set all prices for what there worth within the script. And the script will total the amounts and display Total.
Here is some code, its just test to show, if this would be the best way to go about it. I know its not proper, its just showing you the basic flow.
finditem XXXX
if #property = 120 Swordsmanship
{
set amount + 0.5
some ignore code
return
}
if #property = 120 Macing
{
set %amount + 1
some ignore code
return
}
if #property = 120 Magery
{
set %amount + 12
some ignore code
return
}
if #property = 120 Ninjitsu
{
set %amount + 1
some ignore code
return
}
if #property = 120 Healing
{
set %amount + 0.2
some ignore code
return
}
Totals all the amounts and Displays
So like this id need to do that to every 120 powerscroll/stat scroll and a couple 15's Dont care rest.
Anyway any thoughts would be good. Thanks!