It Delete's the Item in the list, even the requirements are not complete.
Can someone help me. i want it to not delete the items if the requirements are not complete.
- script Quest -1,{
mes "Hi " + strcharinfo(0) + ", Your here for the quest.";
mes "This are the listed items i need";
mes "Make sure you have the real items or ill just delete them";
next;
mes "1000 TCG Card";
mes "50 Ancient Lips";
mes "50 Animal Gore";
mes "50 Ant Jaw";
mes "50 Million Zeny";
next;
mes "If you dont have all the items i will not give the item for the next quest";
next;
mes "It seems you have all the items for the quest. I will erase them and give you the item for the next quest.";
next;
if(countitem(7227)<1000 || countitem(1054)<50 || countitem(702)<50 || countitem(1014)<50 || Zeny <50000000)
delitem 7227,1000;
delitem 1054,50;
delitem 702,50;
delitem 1014,50;
set zeny,zeny-50000000;
getitem 6156,1;
close;
}
It Delete's the Item in the list, even the requirements are not complete.
Can someone help me. i want it to not delete the items if the requirements are not complete.