[SOLVED] How works this command?
Hi I'm trying to make a script that multiplies the number of objects for the price.
Do not understand why, but no works...
Mul command does not work, because for many items it sells, I always get the price of 1...
What is wrong?
ty for help
Hi I'm trying to make a script that multiplies the number of objects for the price.
Do not understand why, but no works...
Code:
[@main]
#IF
#SAY
<Sell item/@@sell>\
[@@sell]
#ACT
Mov D1 %INPUTSTR
Mov D2 100000
goto @sellyes
[@sellyes]
#IF
checkitem BronzeThread %D1
#ACT
Mul D2 %D1
take BronzeThread %D1
give Gold %D2
break
Mul command does not work, because for many items it sells, I always get the price of 1...
What is wrong?
ty for help
Last edited: