I make this script, works PERFECT FOR ME.
The script stop in 1.9kkk (by precaution to that it does not exceed it limits of adena that can maintain to char)
Obvios, u need modify the item, and the count, i buy dyes for 1500.
In the "xxxx" put the ID of the item u buy.
The script, buy and sell.
LABEL(ADENA)
ITEMCOUNT(Adena>[iD=57],>,1900000000) -> limit of adena 1.9kkk
{
exit
}
ITEMCOUNT(itenname>[iD=xxxx],>,1)
{
NPCDLG(Helvetia[iD=xxxx])
DLGSEL(Sell )
SELLITEM(itenname>[iD=xxxx],10000)
NPCDLG(Helvetia[iD=7081])
}
ITEMCOUNT(itenname>[iD=xxxx],>,1)
{
DELAY(900)
DLGSEL(Sell )
SELLITEM(itenname>[iD=xxxx],)
DELAY(900)
}
ITEMCOUNT(itenname>[iD=xxxx],<,1)
{
NPCDLG(Helvetia[iD=xxxx])
DLGSEL(Buy Dye )
BUYITEM(itenname>[iD=xxxx],1;)
DELAY(900)
}
DELAY(900)
NPCDLG(Helvetia[iD=xxxx])
DLGSEL(Buy Dye )
DELAY(900)
BUYITEM(itenname>[iD=xxxx],1500;) --> 1500 is the total i buy.
DELAY(900)
CALL(ADENA)