this check for the items
if (countitem(715) < 3 || countitem(938) < 20) {
copy/paste as much as you want && = and || = or
and this delete the items, also copy/paste
delitem 715,3;
delitem 938,20;
for zeny
if(zeny < 10000){
mes "you don't have 10kz";
close;
}
zeny -= 10000;
add it before the item check
One version of @restock. Create a list of items to restock automatically from your storage. Available everywhere
Usage :
@restock <itemid> <itemid> ... : add items to restock list
@restock off : disable restocking
Config :
Consume 1 coin if non VIP Player, but you can disable it.
You can set maps where restocking isn't allowed.