Simple "Repair All"

Status
Not open for further replies.

Amadeus

The Maestro
Staff member
Just target the NPC that is capable of repairing, and run this script!

Yes, it's really that easy :)

Code:
function main()
{
    variable int i = 1
 
    Merchant:Begin[Repair]
    wait 5
 
    do
    {
      Merchant.RepairItem[${i}]:Repair
      wait 5
    }
    while (${i:Inc} <= ${Merchant.NumItemsForRepair})
 
    Merchant:End        
}
 

Attachments

Status
Not open for further replies.
Top Bottom