Jump to content
  • 0

Multiple Countitem Problem


Question

Posted

Hi everyone can anybody help me

even the items is not there and i already have the other's but he delete the the item that i already have. what is the problem here?

sorry for bad english :D


mes "^FF00001,000x Phantasm Coins";
mes "1,000x Phantasm Tickets";
mes "500x Dark runes";
mes "500x Bloody runes";
mes "2x Black Dyestuff^000000";
next;
if(countitem(7511)<500 && countitem(7539)<1000 && countitem(7227)<1000 && countitem(7563)<500 && countitem(983)<2) goto L_notenuf;
delitem 7511,500;
delitem 7539,1000;
delitem 7227,1000;
delitem 7563,1000;
delitem 983,2;
set mastery,1;
getitem 21517,1;
mes "[Job Mastery]";
mes "Congratulation!";
close;

4 answers to this question

Recommended Posts

Posted (edited)


if((countitem(7511)<500) || (countitem(7539)<1000) || (countitem(7227)<1000) || (countitem(7563)<500) || (countitem(7036)<2)){
close;
} else {
delitem 7511,500;
delitem 7539,1000;
delitem 7227,1000;
delitem 7563,1000;
delitem 7036,2;
set mastery,1;
getitem 21515,1;
mes "[Job Mastery]";
mes "Congratulation!";
close;

awtz. my problem now is when i have all the items. the npc delete the 7511,7539,7227 but the 7563 and 7036 is still remain :(

Edited by bVersatile
Posted (edited)

awtz. my problem now is when i have all the items. the npc delete the 7511,7539,7227 but the 7563 and 7036 is still remain :(


if(countitem(7511)<500 || countitem(7539)<1000 || countitem(7227)<1000 || countitem(7563)<500 || countitem(7036)<2) goto L_notenuf;
delitem 7511,500;
delitem 7539,1000;
delitem 7227,1000;
delitem 7563,1000;
delitem 7036,2;
set mastery,1;
getitem 21515,1;
mes "[Job Mastery]";
mes "Congratulation!";
close;

my new code. doesn't work

bump!

THX EUPHY PROBLEM SOLVED :D!

Edited by bVersatile

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...