;;;QQ:67762207
[@SRepairItem]
{
#if
#say
________________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Special Repair{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
{FCOLOR/2}Here you can repair your whole kit with one\
click of the mouse.\\

__<[Repair All Items]/@rep1>\
__<[Cancel]/@exit>\
[@rep1]
#if
#ACT
GetRepairCost 0
Mov P1 %P9 ;Stores the Value of P9 (Repair Cost) into the variables P1
GetRepairCost 1
Inc P1 %P9 ;Increments (Adds) the Value of P9 to P1
GetRepairCost 2
Inc P1 %P9 ;Increments (Adds) the Value of P9 to P1
GetRepairCost 3
Inc P1 %P9
GetRepairCost 4
Inc P1 %P9
GetRepairCost 5
Inc P1 %P9
GetRepairCost 6
Inc P1 %P9
GetRepairCost 7
Inc P1 %P9
GetRepairCost 8
Inc P1 %P9
GetRepairCost 10
Inc P1 %P9
#SAY
________________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Special Repair{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
{FCOLOR/2}Repairing will cost {FCOLOR/13}<$OUTPUT(P1)> Gold\ ;Shows the value of P1
{FCOLOR/2}Do you want to repair?\\
__<[Repair All Items]/@check1>\
__<[Cancel]/@exit>\

[@check1]
#if
checkgold %P1
#say
________________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Special Repair{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
{FCOLOR/2}You Items have been reapired!\\
__<[Close]/@exit>\
#ACT
RepairItem 0 ;Armour
RepairItem 1 ;Waffe
RepairItem 2 ;Waffe
RepairItem 3 ;Necklace
RepairItem 4 ;Helm
RepairItem 5 ;Brace links
RepairItem 6 ;Brace rechts
RepairItem 7 ;Ring links
RepairItem 8 ;Ring rechts
RepairItem 10 ;Boots
take gold %P1
#elsesay
________________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Special Repair{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
{FCOLOR/2}You havent enought Gold!\\
<[Close]/@exit>\ 
}
;;;QQ:67762207